Uses of Interface
org.glassfish.jersey.internal.jsr166.Flow.Subscriber
-
Packages that use Flow.Subscriber Package Description org.glassfish.jersey.internal.jsr166 Contains a subset of classes repackaged from the jsr166 written by Doug Lea.org.glassfish.jersey.internal.util Common Jersey internal miscellaneous utility classes. -
-
Uses of Flow.Subscriber in org.glassfish.jersey.internal.jsr166
Subinterfaces of Flow.Subscriber in org.glassfish.jersey.internal.jsr166 Modifier and Type Interface Description static interfaceFlow.Processor<T,R>A component that acts as both a Subscriber and Publisher.interfaceJerseyFlowSubscriber<T>Methods in org.glassfish.jersey.internal.jsr166 with parameters of type Flow.Subscriber Modifier and Type Method Description voidFlow.Publisher. subscribe(Flow.Subscriber<? super T> subscriber)Adds the given Subscriber if possible.voidSubmissionPublisher. subscribe(Flow.Subscriber<? super T> subscriber)Adds the given Subscriber unless already subscribed.voidSubmittableFlowPublisher. subscribe(Flow.Subscriber<? super T> subscriber)Adds the given Subscriber unless already subscribed.Method parameters in org.glassfish.jersey.internal.jsr166 with type arguments of type Flow.Subscriber Modifier and Type Method Description static <T> SubmittableFlowPublisher<T>SubmissionPublisherFactory. createSubmissionPublisher(Executor executor, int maxBufferCapacity, BiConsumer<? super Flow.Subscriber<? super T>,? super Throwable> handler)Creates a new SubmittableFlowPublisher using the given Executor for async delivery to subscribers, with the given maximum buffer size for each subscriber, and, if non-null, the given handler invoked when any Subscriber throws an exception in methodonNext.intSubmissionPublisher. offer(T item, long timeout, TimeUnit unit, BiPredicate<Flow.Subscriber<? super T>,? super T> onDrop)Publishes the given item, if possible, to each current subscriber by asynchronously invoking itsonNextmethod, blocking while resources for any subscription are unavailable, up to the specified timeout or until the caller thread is interrupted, at which point the given handler (if non-null) is invoked, and if it returns true, retried once.intSubmissionPublisher. offer(T item, BiPredicate<Flow.Subscriber<? super T>,? super T> onDrop)Publishes the given item, if possible, to each current subscriber by asynchronously invoking itsonNextmethod.intSubmittableFlowPublisher. offer(T item, long timeout, TimeUnit unit, BiPredicate<Flow.Subscriber<? super T>,? super T> onDrop)Publishes the given item, if possible, to each current subscriber by asynchronously invoking itsonNextmethod, blocking while resources for any subscription are unavailable, up to the specified timeout or until the caller thread is interrupted, at which point the given handler (if non-null) is invoked, and if it returns true, retried once.intSubmittableFlowPublisher. offer(T item, BiPredicate<Flow.Subscriber<? super T>,? super T> onDrop)Publishes the given item, if possible, to each current subscriber by asynchronously invoking itsonNextmethod.Constructor parameters in org.glassfish.jersey.internal.jsr166 with type arguments of type Flow.Subscriber Constructor Description SubmissionPublisher(Executor executor, int maxBufferCapacity, BiConsumer<? super Flow.Subscriber<? super T>,? super Throwable> handler)Creates a new SubmissionPublisher using the given Executor for async delivery to subscribers, with the given maximum buffer size for each subscriber, and, if non-null, the given handler invoked when any Subscriber throws an exception in methodonNext. -
Uses of Flow.Subscriber in org.glassfish.jersey.internal.util
Classes in org.glassfish.jersey.internal.util that implement Flow.Subscriber Modifier and Type Class Description classJerseyPublisher.SubscriberWrapper<T>Methods in org.glassfish.jersey.internal.util that return Flow.Subscriber Modifier and Type Method Description Flow.Subscriber<? super T>JerseyPublisher.SubscriberWrapper. getWrappedSubscriber()Methods in org.glassfish.jersey.internal.util with parameters of type Flow.Subscriber Modifier and Type Method Description voidJerseyPublisher. subscribe(Flow.Subscriber<? super T> subscriber)Constructors in org.glassfish.jersey.internal.util with parameters of type Flow.Subscriber Constructor Description SubscriberWrapper(Flow.Subscriber<? super T> subscriber)
-