public class JetStreamOptions
extends java.lang.Object
Builder.| Modifier and Type | Class and Description |
|---|---|
static class |
JetStreamOptions.Builder
JetStreamOptions can be created using a Builder.
|
| Modifier and Type | Field and Description |
|---|---|
static JetStreamOptions |
DEFAULT_JS_OPTIONS |
static java.time.Duration |
DEFAULT_TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static JetStreamOptions.Builder |
builder()
Creates a builder for the publish options.
|
static JetStreamOptions.Builder |
builder(JetStreamOptions jso)
Creates a builder to copy the options.
|
static JetStreamOptions |
defaultOptions()
Get an instance of JetStreamOptions with all defaults
|
java.lang.String |
getPrefix()
Gets the prefix for this JetStream context.
|
java.time.Duration |
getRequestTimeout()
Gets the request timeout the stream.
|
boolean |
isPublishNoAck()
Gets the whether the publish no ack flag was set
|
public static final java.time.Duration DEFAULT_TIMEOUT
public static final JetStreamOptions DEFAULT_JS_OPTIONS
public java.time.Duration getRequestTimeout()
public java.lang.String getPrefix()
public boolean isPublishNoAck()
public static JetStreamOptions.Builder builder()
public static JetStreamOptions.Builder builder(JetStreamOptions jso)
jso - an existing JetStreamOptionspublic static JetStreamOptions defaultOptions()