diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.log.stream/osgi/src/org/osgi/util/pushstream/BufferBuilder.java')
-rw-r--r-- | bundles/org.eclipse.equinox.log.stream/osgi/src/org/osgi/util/pushstream/BufferBuilder.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.log.stream/osgi/src/org/osgi/util/pushstream/BufferBuilder.java b/bundles/org.eclipse.equinox.log.stream/osgi/src/org/osgi/util/pushstream/BufferBuilder.java index 2aa6ec763..dfcf8b503 100644 --- a/bundles/org.eclipse.equinox.log.stream/osgi/src/org/osgi/util/pushstream/BufferBuilder.java +++ b/bundles/org.eclipse.equinox.log.stream/osgi/src/org/osgi/util/pushstream/BufferBuilder.java @@ -3,6 +3,8 @@ package org.osgi.util.pushstream; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Executor; +import org.osgi.annotation.versioning.ProviderType; + /** * Create a buffered section of a Push-based stream * @@ -10,6 +12,7 @@ import java.util.concurrent.Executor; * @param <T> The type of objects in the {@link PushEvent} * @param <U> The type of the Queue used in the user specified buffer */ +@ProviderType public interface BufferBuilder<R, T, U extends BlockingQueue<PushEvent<? extends T>>> { /** @@ -74,6 +77,6 @@ public interface BufferBuilder<R, T, U extends BlockingQueue<PushEvent<? extends /** * @return the object being built */ - R create(); + R build(); } |