Uses of Enum Class
org.glassfish.jersey.internal.util.JerseyPublisher.PublisherStrategy
Packages that use JerseyPublisher.PublisherStrategy
Package
Description
Common Jersey internal miscellaneous utility classes.
-
Uses of JerseyPublisher.PublisherStrategy in org.glassfish.jersey.internal.util
Methods in org.glassfish.jersey.internal.util that return JerseyPublisher.PublisherStrategyModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static JerseyPublisher.PublisherStrategy[]
JerseyPublisher.PublisherStrategy.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.glassfish.jersey.internal.util with parameters of type JerseyPublisher.PublisherStrategyModifierConstructorDescriptionJerseyPublisher
(Executor executor, int maxBufferCapacity, JerseyPublisher.PublisherStrategy strategy) Creates a new JerseyPublisher using the givenExecutor
for async delivery to subscribers, with the given maximum buffer size for each subscriber and givenJerseyPublisher.PublisherStrategy
.JerseyPublisher
(Executor executor, JerseyPublisher.PublisherStrategy strategy) Creates a new JerseyPublisher using the givenExecutor
for async delivery to subscribers, with the default maximum buffer size of 256 and givenJerseyPublisher.PublisherStrategy
.Creates a new JerseyPublisher 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 of 256 and givenJerseyPublisher.PublisherStrategy
.