Package | Description |
---|---|
org.glassfish.jersey.internal.util |
Common Jersey internal miscellaneous utility classes.
|
Modifier and Type | Method and Description |
---|---|
static JerseyPublisher.PublisherStrategy |
JerseyPublisher.PublisherStrategy.valueOf(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.
|
Constructor and Description |
---|
JerseyPublisher(Executor executor,
int maxBufferCapacity,
JerseyPublisher.PublisherStrategy strategy)
Creates a new JerseyPublisher using the given
Executor for async delivery to subscribers, with the given
maximum buffer size for each subscriber and given JerseyPublisher.PublisherStrategy . |
JerseyPublisher(Executor executor,
JerseyPublisher.PublisherStrategy strategy)
Creates a new JerseyPublisher using the given
Executor for async delivery to subscribers, with the default
maximum buffer size of and given JerseyPublisher.PublisherStrategy . |
JerseyPublisher(JerseyPublisher.PublisherStrategy strategy)
Creates a new JerseyPublisher using the
ForkJoinPool.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 and given JerseyPublisher.PublisherStrategy . |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.