Uses of Interface
org.glassfish.jersey.internal.jsr166.SubmittableFlowPublisher
Packages that use SubmittableFlowPublisher
Package
Description
Contains a subset of classes repackaged from the jsr166 written by Doug Lea.
-
Uses of SubmittableFlowPublisher in org.glassfish.jersey.internal.jsr166
Classes in org.glassfish.jersey.internal.jsr166 that implement SubmittableFlowPublisherModifier and TypeClassDescriptionclassAFlow.Publisherthat asynchronously issues submitted (non-null) items to current subscribers until it is closed.Methods in org.glassfish.jersey.internal.jsr166 that return SubmittableFlowPublisherModifier and TypeMethodDescriptionstatic <T> SubmittableFlowPublisher<T>SubmissionPublisherFactory.createSubmissionPublisher()Creates a new SubmittableFlowPublisher using theForkJoinPool.commonPool()for async delivery to subscribers (unless it does not support a parallelism level of at least two, in which case, a new Thread is created to run each task), with maximum buffer capacity ofFlow.defaultBufferSize(), and no handler for Subscriber exceptions in methodonNext.static <T> SubmittableFlowPublisher<T>SubmissionPublisherFactory.createSubmissionPublisher(Executor executor, int maxBufferCapacity) Creates a new Jdk9SubmissionPublisher using the given Executor for async delivery to subscribers, with the given maximum buffer size for each subscriber, and no handler for Subscriber exceptions in methodonNext.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.