Uses of Class
org.glassfish.jersey.internal.util.JerseyPublisher.PublisherStrategy
-
Packages that use JerseyPublisher.PublisherStrategy Package Description org.glassfish.jersey.internal.util Common Jersey internal miscellaneous utility classes. -
-
Uses of JerseyPublisher.PublisherStrategy in org.glassfish.jersey.internal.util
Fields in org.glassfish.jersey.internal.util declared as JerseyPublisher.PublisherStrategy Modifier and Type Field Description private JerseyPublisher.PublisherStrategy
JerseyPublisher. strategy
Methods in org.glassfish.jersey.internal.util that return JerseyPublisher.PublisherStrategy Modifier and Type Method Description static JerseyPublisher.PublisherStrategy
JerseyPublisher.PublisherStrategy. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JerseyPublisher.PublisherStrategy[]
JerseyPublisher.PublisherStrategy. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.glassfish.jersey.internal.util with parameters of type JerseyPublisher.PublisherStrategy Constructor Description JerseyPublisher(java.util.concurrent.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(java.util.concurrent.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
.JerseyPublisher(JerseyPublisher.PublisherStrategy strategy)
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
.
-