Package | Description |
---|---|
org.glassfish.jersey.internal.util |
Common Jersey internal miscellaneous utility classes.
|
Modifier and Type | Field and Description |
---|---|
private JerseyPublisher.PublisherStrategy |
JerseyPublisher.strategy |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
JerseyPublisher(java.util.concurrent.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(java.util.concurrent.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 256 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 256 and given JerseyPublisher.PublisherStrategy . |