- AccountLimits - Class in io.nats.client.api
-
Represents the JetStream Account Limits
- AccountStatistics - Class in io.nats.client.api
-
The JetStream Account Statistics
- AccountStatistics(Message) - Constructor for class io.nats.client.api.AccountStatistics
-
- ack() - Method in interface io.nats.client.Message
-
ack acknowledges a JetStream messages received from a Consumer, indicating the message
should not be received again later.
- ACK_FLOOR - Static variable in interface io.nats.client.support.ApiConstants
-
- ACK_POLICY - Static variable in interface io.nats.client.support.ApiConstants
-
- ACK_POLICY_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- ACK_WAIT - Static variable in interface io.nats.client.support.ApiConstants
-
- ACK_WAIT_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- AckPolicy - Enum in io.nats.client.api
-
Represents the Ack Policy of a consumer
- ackPolicy - Variable in class io.nats.client.api.ConsumerConfiguration
-
- ackPolicy(AckPolicy) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the acknowledgement policy of the ConsumerConfiguration.
- ackPolicyWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets whether ack policy for this consumer configuration was set or left unset
- ackSync(Duration) - Method in interface io.nats.client.Message
-
ack acknowledges a JetStream messages received from a Consumer, indicating the message
should not be received again later.
- ackWait - Variable in class io.nats.client.api.ConsumerConfiguration
-
- ackWait(Duration) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the acknowledgement wait duration of the ConsumerConfiguration.
- ackWait(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the acknowledgement wait duration of the ConsumerConfiguration.
- ACTIVE - Static variable in interface io.nats.client.support.ApiConstants
-
- ACTIVE_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- addDurations(StringBuilder, String, List<Duration>) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addField(StringBuilder, String, String) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addField(StringBuilder, String, Boolean) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addField(StringBuilder, String, Integer) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addField(StringBuilder, String, Long) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addField(StringBuilder, String, JsonSerializable) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json object to a string builder.
- addField(StringBuilder, String, ZonedDateTime) - Static method in class io.nats.client.support.JsonUtils
-
Appends a date/time to a string builder as a rfc 3339 formatted field.
- addFieldAsNanos(StringBuilder, String, Duration) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addFieldEvenEmpty(StringBuilder, String, String) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addFieldWhenGtZero(StringBuilder, String, Integer) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addFieldWhenGtZero(StringBuilder, String, Long) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addFldWhenTrue(StringBuilder, String, Boolean) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addJsons(StringBuilder, String, List<? extends JsonSerializable>) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addOrUpdateConsumer(String, ConsumerConfiguration) - Method in interface io.nats.client.JetStreamManagement
-
Loads or creates a consumer.
- addSources(Source...) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the sources in the StreamConfiguration.
- addSources(Collection<Source>) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the sources in the StreamConfiguration.
- addStream(StreamConfiguration) - Method in interface io.nats.client.JetStreamManagement
-
Loads or creates a stream.
- addStrings(StringBuilder, String, String[]) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addStrings(StringBuilder, String, List<String>) - Static method in class io.nats.client.support.JsonUtils
-
Appends a json field to a string builder.
- addSubjects(String...) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the subjects in the StreamConfiguration.
- addSubjects(Collection<String>) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the subjects in the StreamConfiguration.
- ALLOW_ROLLUP_HDRS - Static variable in interface io.nats.client.support.ApiConstants
-
- ALLOW_ROLLUP_HDRS_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- allowRollup(boolean) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Set whether to allow the rollup feature for a stream
- allSubjects() - Static method in class io.nats.client.api.StreamInfoOptions
-
Create options that get subject information, filtering for all subjects.
- allSubjects() - Method in class io.nats.client.api.StreamInfoOptions.Builder
-
Set the subjects filter to >, which turns on getting subject info.
- API - Static variable in interface io.nats.client.support.ApiConstants
-
- API_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- ApiConstants - Interface in io.nats.client.support
-
- ApiResponse<T> - Class in io.nats.client.api
-
- ApiResponse(Message) - Constructor for class io.nats.client.api.ApiResponse
-
- ApiResponse(String) - Constructor for class io.nats.client.api.ApiResponse
-
- ApiResponse() - Constructor for class io.nats.client.api.ApiResponse
-
- append(int) - Method in class io.nats.client.support.ByteArrayBuilder
-
Append a String representation of the number.
- append(String) - Method in class io.nats.client.support.ByteArrayBuilder
-
Append a String with the default charset.
- append(String, Charset) - Method in class io.nats.client.support.ByteArrayBuilder
-
Append a String with specified charset.
- append(CharBuffer) - Method in class io.nats.client.support.ByteArrayBuilder
-
Append a CharBuffer with default charset.
- append(CharBuffer, Charset) - Method in class io.nats.client.support.ByteArrayBuilder
-
Append a CharBuffer with specified charset.
- append(byte) - Method in class io.nats.client.support.ByteArrayBuilder
-
Append a byte as is
- append(byte[]) - Method in class io.nats.client.support.ByteArrayBuilder
-
Append a byte array
- append(byte[], int) - Method in class io.nats.client.support.ByteArrayBuilder
-
Append a byte array
- append(byte[], int, int) - Method in class io.nats.client.support.ByteArrayBuilder
-
Append a byte array
- append(ByteArrayBuilder) - Method in class io.nats.client.support.ByteArrayBuilder
-
- AUTH_REQUIRED - Static variable in interface io.nats.client.support.ApiConstants
-
- AUTH_REQUIRED_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- AuthenticationException - Exception in io.nats.client
-
AuthenticationException is used when the connect process fails due to an authentication
problem.
- AuthenticationException(String) - Constructor for exception io.nats.client.AuthenticationException
-
Create a new AuthenticationException.
- AuthHandler - Interface in io.nats.client
-
NATS provides a challenge-response based authentication scheme based on
NKeys
.
- authHandler(AuthHandler) - Method in class io.nats.client.Options.Builder
-
Set the
AuthHandler
to sign the server nonce for authentication in
nonce-mode.
- backoff - Variable in class io.nats.client.api.ConsumerConfiguration
-
- backoff(Duration...) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Set the list of backoff.
- backoff(long...) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Set the list of backoff.
- BACKOFF - Static variable in interface io.nats.client.support.ApiConstants
-
- base32Decode(char[]) - Static method in class io.nats.client.support.Encoding
-
- base32Encode(byte[]) - Static method in class io.nats.client.support.Encoding
-
- base64Encode(byte[]) - Static method in class io.nats.client.support.Encoding
-
- beginFormattedJson() - Static method in class io.nats.client.support.JsonUtils
-
- beginJson() - Static method in class io.nats.client.support.JsonUtils
-
- beginJsonPrefixed(String) - Static method in class io.nats.client.support.JsonUtils
-
- bind(String, String) - Static method in class io.nats.client.PullSubscribeOptions
-
Create PullSubscribeOptions where you are binding to
a specific stream, specific durable and are using bind mode
- bind(String) - Static method in class io.nats.client.PushSubscribeOptions
-
- bind(String, String) - Static method in class io.nats.client.PushSubscribeOptions
-
Macro to create a PushSubscribeOptions where you are
binding to an existing stream and durable consumer.
- bind - Variable in class io.nats.client.SubscribeOptions
-
- bind(boolean) - Method in class io.nats.client.SubscribeOptions.Builder
-
Specify the to attach in direct mode
- boolean_pattern(String) - Static method in class io.nats.client.support.JsonUtils
-
- bucket - Variable in class io.nats.client.support.NatsKeyValueUtil.BucketAndKey
-
- BucketAndKey(Message) - Constructor for class io.nats.client.support.NatsKeyValueUtil.BucketAndKey
-
- BucketAndKey(String) - Constructor for class io.nats.client.support.NatsKeyValueUtil.BucketAndKey
-
- bufferSize(int) - Method in class io.nats.client.Options.Builder
-
Sets the initial size for buffers in the connection, primarily for testing.
- build() - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Builds the ConsumerConfiguration
- build() - Method in class io.nats.client.api.KeyValueConfiguration.Builder
-
Builds the KeyValueConfiguration
- build() - Method in class io.nats.client.api.KeyValuePurgeOptions.Builder
-
Build the Key Value Purge Options
- build() - Method in class io.nats.client.api.Mirror.Builder
-
- build() - Method in class io.nats.client.api.Source.Builder
-
- build() - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Builds the StreamConfiguration
- build() - Method in class io.nats.client.api.StreamInfoOptions.Builder
-
Build the options
- build() - Method in class io.nats.client.JetStreamOptions.Builder
-
Builds the JetStream options.
- build() - Method in class io.nats.client.KeyValueOptions.Builder
-
Builds the JetStream options.
- build() - Method in class io.nats.client.Options.Builder
-
Build an Options object from this Builder.
- build() - Method in class io.nats.client.PublishOptions.Builder
-
Builds the publish options.
- build() - Method in class io.nats.client.PullSubscribeOptions.Builder
-
Builds the pull subscribe options.
- build() - Method in class io.nats.client.PurgeOptions.Builder
-
- build() - Method in class io.nats.client.PushSubscribeOptions.Builder
-
Builds the push subscribe options.
- build() - Method in class io.nats.client.SubscribeOptions.Builder
-
Builds the subscribe options.
- buildDataPort() - Method in class io.nats.client.Options
-
- builder() - Static method in class io.nats.client.api.ConsumerConfiguration
-
Creates a builder for the publish options.
- builder(ConsumerConfiguration) - Static method in class io.nats.client.api.ConsumerConfiguration
-
Creates a builder for the publish options.
- Builder() - Constructor for class io.nats.client.api.ConsumerConfiguration.Builder
-
- Builder(ConsumerConfiguration) - Constructor for class io.nats.client.api.ConsumerConfiguration.Builder
-
- builder() - Static method in class io.nats.client.api.KeyValueConfiguration
-
Creates a builder for the Key Value Configuration.
- builder(KeyValueConfiguration) - Static method in class io.nats.client.api.KeyValueConfiguration
-
Creates a builder to copy the key value configuration.
- Builder() - Constructor for class io.nats.client.api.KeyValueConfiguration.Builder
-
Default Builder
- Builder(KeyValueConfiguration) - Constructor for class io.nats.client.api.KeyValueConfiguration.Builder
-
Construct the builder by copying another configuration
- builder() - Static method in class io.nats.client.api.KeyValuePurgeOptions
-
Creates a builder for the Key Value Purge Options.
- Builder() - Constructor for class io.nats.client.api.KeyValuePurgeOptions.Builder
-
- builder() - Static method in class io.nats.client.api.Mirror
-
- Builder() - Constructor for class io.nats.client.api.Mirror.Builder
-
- builder() - Static method in class io.nats.client.api.Source
-
- Builder() - Constructor for class io.nats.client.api.Source.Builder
-
- builder() - Static method in class io.nats.client.api.StreamConfiguration
-
Creates a builder for the stream configuration.
- builder(StreamConfiguration) - Static method in class io.nats.client.api.StreamConfiguration
-
Creates a builder to copy the stream configuration.
- Builder() - Constructor for class io.nats.client.api.StreamConfiguration.Builder
-
Default Builder
- Builder(StreamConfiguration) - Constructor for class io.nats.client.api.StreamConfiguration.Builder
-
Update Builder, useful if you need to update a configuration
- builder() - Static method in class io.nats.client.api.StreamInfoOptions
-
- Builder() - Constructor for class io.nats.client.api.StreamInfoOptions.Builder
-
Default Builder
- builder() - Static method in class io.nats.client.JetStreamOptions
-
Creates a builder for the publish options.
- builder(JetStreamOptions) - Static method in class io.nats.client.JetStreamOptions
-
Creates a builder to copy the options.
- Builder() - Constructor for class io.nats.client.JetStreamOptions.Builder
-
- Builder(JetStreamOptions) - Constructor for class io.nats.client.JetStreamOptions.Builder
-
- builder() - Static method in class io.nats.client.KeyValueOptions
-
Creates a builder for the publish options.
- builder(KeyValueOptions) - Static method in class io.nats.client.KeyValueOptions
-
Creates a builder to copy the options.
- Builder() - Constructor for class io.nats.client.KeyValueOptions.Builder
-
- Builder(KeyValueOptions) - Constructor for class io.nats.client.KeyValueOptions.Builder
-
- Builder() - Constructor for class io.nats.client.Options.Builder
-
Constructs a new Builder with the default values.
- Builder(Properties) - Constructor for class io.nats.client.Options.Builder
-
Constructs a new Builder
from a Properties
object.
- builder() - Static method in class io.nats.client.PublishOptions
-
Creates a builder for the publish options.
- Builder() - Constructor for class io.nats.client.PublishOptions.Builder
-
Constructs a new publish options Builder with the default values.
- Builder(Properties) - Constructor for class io.nats.client.PublishOptions.Builder
-
Constructs a builder from properties
- builder() - Static method in class io.nats.client.PullSubscribeOptions
-
Macro to start a PullSubscribeOptions builder
- Builder() - Constructor for class io.nats.client.PullSubscribeOptions.Builder
-
- builder() - Static method in class io.nats.client.PurgeOptions
-
Creates a builder for the purge options
- Builder() - Constructor for class io.nats.client.PurgeOptions.Builder
-
- builder() - Static method in class io.nats.client.PushSubscribeOptions
-
Macro to start a PushSubscribeOptions builder
- Builder() - Constructor for class io.nats.client.PushSubscribeOptions.Builder
-
- Builder() - Constructor for class io.nats.client.SubscribeOptions.Builder
-
- buildPattern(String, JsonUtils.FieldType) - Static method in class io.nats.client.support.JsonUtils
-
Builds a json parsing pattern
- buildPattern(String, String) - Static method in class io.nats.client.support.JsonUtils
-
- buildProtocolConnectOptionsString(String, boolean, byte[]) - Method in class io.nats.client.Options
-
Create the options string sent with a connect message.
- buildPullSubscribeOptions() - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Builds the PullSubscribeOptions with this configuration
- buildPushSubscribeOptions() - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Builds the PushSubscribeOptions with this configuration
- ByteArrayBuilder - Class in io.nats.client.support
-
- ByteArrayBuilder() - Constructor for class io.nats.client.support.ByteArrayBuilder
-
Construct the ByteArrayBuilder with
the initial size and allocation size of
32
and the character set
StandardCharsets.US_ASCII
- ByteArrayBuilder(int) - Constructor for class io.nats.client.support.ByteArrayBuilder
-
Construct the ByteArrayBuilder with the supplied initial size,
allocation size of
32
and the character set
StandardCharsets.US_ASCII
- ByteArrayBuilder(byte[]) - Constructor for class io.nats.client.support.ByteArrayBuilder
-
Construct the ByteArrayBuilder with an existing byte array using it's
length as the initial length, the allocation size the larger of
the length and
32,
and the character set
StandardCharsets.US_ASCII
Then initializes the buffer with the supplied bytes
- ByteArrayBuilder(Charset) - Constructor for class io.nats.client.support.ByteArrayBuilder
-
Construct the ByteArrayBuilder with the supplied character set
with the default initial size and allocation size determined by that character set
- ByteArrayBuilder(int, Charset) - Constructor for class io.nats.client.support.ByteArrayBuilder
-
Construct the ByteArrayBuilder with the supplied initial size and character set
with the allocation size determined by that character set.
- ByteArrayBuilder(int, int, Charset) - Constructor for class io.nats.client.support.ByteArrayBuilder
-
Construct the ByteArrayBuilder with the supplied initial size,
allocation size and character set
- BYTES - Static variable in interface io.nats.client.support.ApiConstants
-
- BYTES_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- bytesToLong(byte[]) - Static method in class io.nats.client.support.RandomUtils
-
- cancelClosing() - Method in class io.nats.client.support.NatsRequestCompletableFuture
-
- cancelTimedOut() - Method in class io.nats.client.support.NatsRequestCompletableFuture
-
- clear() - Method in class io.nats.client.NKey
-
Clear the seed and public key char arrays by filling them
with random bytes then zero-ing them out.
- clear() - Method in class io.nats.client.support.ByteArrayBuilder
-
Clear the buffer, resetting it's length
- clearDroppedCount() - Method in interface io.nats.client.Consumer
-
Reset the drop count to 0.
- clearExpected() - Method in class io.nats.client.PublishOptions.Builder
-
Clears the expected so the build can be re-used.
- CLIENT_ID - Static variable in interface io.nats.client.support.ApiConstants
-
- CLIENT_ID_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- CLIENT_IP - Static variable in interface io.nats.client.support.ApiConstants
-
- CLIENT_IP_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- CLIENT_LANGUAGE - Static variable in class io.nats.client.Nats
-
Current language of the library - "java"
- CLIENT_VERSION - Static variable in class io.nats.client.Nats
-
Current version of the library
- clientSideLimitChecks(boolean) - Method in class io.nats.client.Options.Builder
-
Set client side limit checks.
- clientSideLimitChecks() - Method in class io.nats.client.Options
-
- close() - Method in interface io.nats.client.Connection
-
- CLOSE - Static variable in class io.nats.client.support.JsonUtils
-
- closeDispatcher(Dispatcher) - Method in interface io.nats.client.Connection
-
Close a dispatcher.
- CLUSTER - Static variable in interface io.nats.client.support.ApiConstants
-
- CLUSTER_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- ClusterInfo - Class in io.nats.client.api
-
Information about the cluster a stream is part of.
- CODE - Static variable in interface io.nats.client.support.ApiConstants
-
- CODE_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- COLON - Static variable in interface io.nats.client.support.NatsConstants
-
- COLON_BYTES - Static variable in interface io.nats.client.support.NatsConstants
-
- computeAmountToAllocate(int, int) - Method in class io.nats.client.support.ByteArrayBuilder
-
- CONFIG - Static variable in interface io.nats.client.support.ApiConstants
-
- configuration(ConsumerConfiguration) - Method in class io.nats.client.SubscribeOptions.Builder
-
The consumer configuration.
- connect() - Static method in class io.nats.client.Nats
-
- connect(String) - Static method in class io.nats.client.Nats
-
The Java client generally expects URLs of the form nats://hostname:port
- connect(String, AuthHandler) - Static method in class io.nats.client.Nats
-
Connect to the specified URL with the specified username, password and default options.
- connect(Options) - Static method in class io.nats.client.Nats
-
Options can be used to set the server URL, or multiple URLS, callback
handlers for various errors, and connection events.
- CONNECT_SP_BYTES - Static variable in interface io.nats.client.support.NatsConstants
-
- CONNECT_URLS - Static variable in interface io.nats.client.support.ApiConstants
-
- connectAsynchronously(Options, boolean) - Static method in class io.nats.client.Nats
-
Try to connect in another thread, a connection listener is required to get
the connection.
- Connection - Interface in io.nats.client
-
The Connection class is at the heart of the NATS Java client.
- Connection.Status - Enum in io.nats.client
-
- connectionEvent(Connection, ConnectionListener.Events) - Method in interface io.nats.client.ConnectionListener
-
Connection related events that occur asynchronously in the client code are
sent to a ConnectionListener via a single method.
- ConnectionListener - Interface in io.nats.client
-
Applications can use a ConnectionListener to track the status of a
Connection
.
- connectionListener(ConnectionListener) - Method in class io.nats.client.Options.Builder
-
- ConnectionListener.Events - Enum in io.nats.client
-
- connectionName(String) - Method in class io.nats.client.Options.Builder
-
Set the connection's optional Name.
- connectionTimeout(Duration) - Method in class io.nats.client.Options.Builder
-
Set the timeout for connection attempts.
- Consumer - Interface in io.nats.client
-
A Consumer in the NATS library is an object that represents an incoming queue of
messages.
- CONSUMER_COUNT - Static variable in interface io.nats.client.support.ApiConstants
-
- CONSUMER_COUNT_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- CONSUMER_SEQ - Static variable in interface io.nats.client.support.ApiConstants
-
- CONSUMER_SEQ_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- CONSUMER_STALLED_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
-
- consumerConfig - Variable in class io.nats.client.SubscribeOptions
-
- ConsumerConfiguration - Class in io.nats.client.api
-
The ConsumerConfiguration class specifies the configuration for creating a JetStream consumer on the client and
if necessary the server.
- ConsumerConfiguration(ConsumerConfiguration) - Constructor for class io.nats.client.api.ConsumerConfiguration
-
- ConsumerConfiguration.Builder - Class in io.nats.client.api
-
ConsumerConfiguration is created using a Builder.
- ConsumerConfiguration.DurationChangeHelper - Enum in io.nats.client.api
-
INTERNAL CLASS ONLY, SUBJECT TO CHANGE
Helper class to manage min / default / unset / server values.
- ConsumerConfiguration.LongChangeHelper - Enum in io.nats.client.api
-
INTERNAL CLASS ONLY, SUBJECT TO CHANGE
Helper class to manage min / default / unset / server values.
- ConsumerConfiguration.UlongChangeHelper - Enum in io.nats.client.api
-
INTERNAL CLASS ONLY, SUBJECT TO CHANGE
Helper class to manage min / default / unset / server values.
- ConsumerInfo - Class in io.nats.client.api
-
The ConsumerInfo class returns information about a JetStream consumer.
- ConsumerInfo(Message) - Constructor for class io.nats.client.api.ConsumerInfo
-
- ConsumerInfo(String) - Constructor for class io.nats.client.api.ConsumerInfo
-
- CONSUMERS - Static variable in interface io.nats.client.support.ApiConstants
-
- CONSUMERS_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- copyTo(byte[], int) - Method in class io.nats.client.support.ByteArrayBuilder
-
Copy the contents of the buffer to the byte array starting at the destination
positions supplied.
- CR - Static variable in interface io.nats.client.support.NatsConstants
-
- create(String, byte[]) - Method in interface io.nats.client.KeyValue
-
Put as the value for a key iff the key does not exist (there is no history)
or is deleted (history shows the key is deleted)
- create(KeyValueConfiguration) - Method in interface io.nats.client.KeyValueManagement
-
Create a key value store.
- createAccount(SecureRandom) - Static method in class io.nats.client.NKey
-
Create an Account NKey from the provided random number generator.
- createCluster(SecureRandom) - Static method in class io.nats.client.NKey
-
Create an Cluster NKey from the provided random number generator.
- CREATED - Static variable in interface io.nats.client.support.ApiConstants
-
- CREATED_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- createDispatcher(MessageHandler) - Method in interface io.nats.client.Connection
-
Create a Dispatcher
for this connection.
- createDispatcher() - Method in interface io.nats.client.Connection
-
Convenience method to create a dispatcher with no default handler.
- createInbox() - Method in interface io.nats.client.Connection
-
- createOpenTLSContext() - Static method in class io.nats.client.support.SSLUtils
-
- createOperator(SecureRandom) - Static method in class io.nats.client.NKey
-
Create an Operator NKey from the provided random number generator.
- createServer(SecureRandom) - Static method in class io.nats.client.NKey
-
Create a Server NKey from the provided random number generator.
- createURIForServer(String) - Method in class io.nats.client.Options
-
- createUser(SecureRandom) - Static method in class io.nats.client.NKey
-
Create a User NKey from the provided random number generator.
- credentials(String) - Static method in class io.nats.client.Nats
-
Create an authhandler from a creds file.
- credentials(String, String) - Static method in class io.nats.client.Nats
-
Create an authhandler from a jwt file and an nkey file.
- CRLF - Static variable in interface io.nats.client.support.NatsConstants
-
- CRLF_BYTES - Static variable in interface io.nats.client.support.NatsConstants
-
- CURRENT - Static variable in interface io.nats.client.support.ApiConstants
-
- CURRENT_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- DATA - Static variable in interface io.nats.client.support.ApiConstants
-
- DATA_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- dataPortType(String) - Method in class io.nats.client.Options.Builder
-
The class to use for this connections data port.
- DateTimeUtils - Class in io.nats.client.support
-
Internal json parsing helpers.
- DEFAULT_ACK_POLICY - Static variable in class io.nats.client.api.ConsumerConfiguration
-
- DEFAULT_API_PREFIX - Static variable in interface io.nats.client.support.NatsJetStreamConstants
-
- DEFAULT_ASCII_ALLOCATION - Static variable in class io.nats.client.support.ByteArrayBuilder
-
- DEFAULT_BUFFER_SIZE - Static variable in class io.nats.client.Options
-
Default size for buffers in the connection, not as available as other settings,
this is primarily changed for testing,
getBufferSize()
.
- DEFAULT_CONNECTION_TIMEOUT - Static variable in class io.nats.client.Options
-
- DEFAULT_DATA_PORT_TYPE - Static variable in class io.nats.client.Options
-
- DEFAULT_DELIVER_POLICY - Static variable in class io.nats.client.api.ConsumerConfiguration
-
- DEFAULT_DISCARD_MESSAGES_WHEN_OUTGOING_QUEUE_FULL - Static variable in class io.nats.client.Options
-
This value is used internally to discard messages when the outgoing queue is full.
- DEFAULT_INBOX_PREFIX - Static variable in class io.nats.client.Options
-
Default prefix used for inboxes, you can change this to manage authorization of subjects.
- DEFAULT_JS_OPTIONS - Static variable in class io.nats.client.JetStreamOptions
-
- DEFAULT_MAX_BYTES - Static variable in interface io.nats.client.Consumer
-
The default number of bytes a consumer will hold before it starts to drop messages.
- DEFAULT_MAX_CONTROL_LINE - Static variable in class io.nats.client.Options
-
The default length, 4096 bytes, the client will allow in an
outgoing protocol control line,
getMaxControlLine()
.
- DEFAULT_MAX_MESSAGES - Static variable in interface io.nats.client.Consumer
-
The default number of messages a consumer will hold before it starts to drop them.
- DEFAULT_MAX_MESSAGES_IN_OUTGOING_QUEUE - Static variable in class io.nats.client.Options
-
This value is used internally to limit the number of messages allowed in the outgoing queue.
- DEFAULT_MAX_PINGS_OUT - Static variable in class io.nats.client.Options
-
Default maximum number of pings have not received a response allowed by the
client,
getMaxPingsOut()
.
- DEFAULT_MAX_RECONNECT - Static variable in class io.nats.client.Options
-
- DEFAULT_ORDERED_HEARTBEAT - Static variable in class io.nats.client.SubscribeOptions
-
- DEFAULT_OTHER_ALLOCATION - Static variable in class io.nats.client.support.ByteArrayBuilder
-
- DEFAULT_PING_INTERVAL - Static variable in class io.nats.client.Options
-
Default server ping interval.
- DEFAULT_PORT - Static variable in class io.nats.client.Options
-
Default server port.
- DEFAULT_RECONNECT_BUF_SIZE - Static variable in class io.nats.client.Options
-
Default of pending message buffer that is used for buffering messages that
are published during a disconnect/reconnect,
getReconnectBufferSize()
.
- DEFAULT_RECONNECT_JITTER - Static variable in class io.nats.client.Options
-
- DEFAULT_RECONNECT_JITTER_TLS - Static variable in class io.nats.client.Options
-
- DEFAULT_RECONNECT_WAIT - Static variable in class io.nats.client.Options
-
Default wait time before attempting reconnection to the same server, see
getReconnectWait()
.
- DEFAULT_REPLAY_POLICY - Static variable in class io.nats.client.api.ConsumerConfiguration
-
- DEFAULT_REQUEST_CLEANUP_INTERVAL - Static variable in class io.nats.client.Options
-
Default interval to clean up cancelled/timed out requests.
- DEFAULT_SSL_PROTOCOL - Static variable in class io.nats.client.Options
-
Default SSL protocol used to create an SSLContext if the
secure property
is used.
- DEFAULT_THREAD_NAME_PREFIX - Static variable in class io.nats.client.Options
-
Default thread name prefix.
- DEFAULT_THRESHOLD_MILLIS - Static variable in class io.nats.client.api.KeyValuePurgeOptions
-
The default time in millis that is used for as the threshold to keep markers.
- DEFAULT_TIME - Static variable in class io.nats.client.support.DateTimeUtils
-
- DEFAULT_TIMEOUT - Static variable in class io.nats.client.JetStreamOptions
-
- DEFAULT_TIMEOUT - Static variable in class io.nats.client.PublishOptions
-
Use this variable for timeout in publish options.
- DEFAULT_URL - Static variable in class io.nats.client.Options
-
Default server URL.
- defaultOptions() - Static method in class io.nats.client.JetStreamOptions
-
Get an instance of JetStreamOptions with all defaults
- delete(String) - Method in interface io.nats.client.KeyValue
-
Soft deletes the key by placing a delete marker.
- delete(String) - Method in interface io.nats.client.KeyValueManagement
-
Deletes an existing bucket.
- DELETE_HEADERS - Static variable in class io.nats.client.support.NatsKeyValueUtil
-
- deleteConsumer(String, String) - Method in interface io.nats.client.JetStreamManagement
-
Deletes a consumer.
- DELETED - Static variable in interface io.nats.client.support.ApiConstants
-
- DELETED_DETAILS - Static variable in interface io.nats.client.support.ApiConstants
-
- deletedDetails() - Method in class io.nats.client.api.StreamInfoOptions.Builder
-
Turns on getting deleted details
- deletedDetails() - Static method in class io.nats.client.api.StreamInfoOptions
-
Create options that get deleted details.
- deleteMarkersNoThreshold() - Method in class io.nats.client.api.KeyValuePurgeOptions.Builder
-
Set the delete marker threshold to -1 so as to not keep any markers
- deleteMarkersThreshold(Duration) - Method in class io.nats.client.api.KeyValuePurgeOptions.Builder
-
Set the delete marker threshold.
- deleteMarkersThreshold(long) - Method in class io.nats.client.api.KeyValuePurgeOptions.Builder
-
Set the delete marker threshold.
- deleteMessage(String, long) - Method in interface io.nats.client.JetStreamManagement
-
Deletes a message.
- deleteStream(String) - Method in interface io.nats.client.JetStreamManagement
-
Deletes an existing stream.
- DELIVER - Static variable in interface io.nats.client.support.ApiConstants
-
- DELIVER_GROUP - Static variable in interface io.nats.client.support.ApiConstants
-
- DELIVER_GROUP_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- DELIVER_POLICY - Static variable in interface io.nats.client.support.ApiConstants
-
- DELIVER_POLICY_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- DELIVER_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- DELIVER_SUBJECT - Static variable in interface io.nats.client.support.ApiConstants
-
- DELIVER_SUBJECT_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- DELIVERED - Static variable in interface io.nats.client.support.ApiConstants
-
- deliverGroup(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the group to deliver messages to.
- deliverGroup - Variable in class io.nats.client.api.ConsumerConfiguration
-
- deliverGroup(String) - Method in class io.nats.client.PushSubscribeOptions.Builder
-
Setting this specifies deliver group.
- deliverPolicy(DeliverPolicy) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the delivery policy of the ConsumerConfiguration.
- deliverPolicy - Variable in class io.nats.client.api.ConsumerConfiguration
-
- DeliverPolicy - Enum in io.nats.client.api
-
The delivery policy for this consumer.
- deliverPolicyWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets whether deliver policy of this consumer configuration was set or left unset
- deliverSubject(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the subject to deliver messages to.
- deliverSubject - Variable in class io.nats.client.api.ConsumerConfiguration
-
- deliverSubject(String) - Method in class io.nats.client.PushSubscribeOptions.Builder
-
Setting this specifies the push model to a delivery subject.
- DENY_DELETE - Static variable in interface io.nats.client.support.ApiConstants
-
- DENY_DELETE_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- DENY_PURGE - Static variable in interface io.nats.client.support.ApiConstants
-
- DENY_PURGE_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- denyDelete(boolean) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Set whether to deny deleting messages from the stream
- denyPurge(boolean) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Set whether to deny purging messages from the stream
- description(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the description
- description - Variable in class io.nats.client.api.ConsumerConfiguration
-
- description(String) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
-
Sets the description of the store.
- description(String) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the description
- DESCRIPTION - Static variable in interface io.nats.client.support.ApiConstants
-
- DESCRIPTION_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- DISCARD - Static variable in interface io.nats.client.support.ApiConstants
-
- DISCARD_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- discardMessagesWhenOutgoingQueueFull() - Method in class io.nats.client.Options.Builder
-
Enable discard messages when the outgoing queue full.
- DiscardPolicy - Enum in io.nats.client.api
-
Stream discard policies
- discardPolicy(DiscardPolicy) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the discard policy in the StreamConfiguration.
- Dispatcher - Interface in io.nats.client
-
This library uses the concept of a Dispatcher to organize message callbacks in a way that the
application can control.
- domain(String) - Method in class io.nats.client.JetStreamOptions.Builder
-
Sets the domain for JetStream subjects, creating a standard prefix from that domain
in the form $JS.(domain).API.
- DOMAIN - Static variable in interface io.nats.client.support.ApiConstants
-
- DOMAIN_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- DOT - Static variable in interface io.nats.client.support.NatsConstants
-
- drain(Duration) - Method in interface io.nats.client.Connection
-
Drain tells the connection to process in flight messages before closing.
- drain(Duration) - Method in interface io.nats.client.Consumer
-
Drain tells the consumer to process in flight, or cached messages, but stop receiving new ones.
- DUPLICATE - Static variable in interface io.nats.client.support.ApiConstants
-
- DUPLICATE_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- DUPLICATE_WINDOW - Static variable in interface io.nats.client.support.ApiConstants
-
- DUPLICATE_WINDOW_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- duplicateWindow(Duration) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the duplicate checking window in the the StreamConfiguration.
- duplicateWindow(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the duplicate checking window in the the StreamConfiguration.
- durable(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the name of the durable subscription.
- durable - Variable in class io.nats.client.api.ConsumerConfiguration
-
- durable(String) - Method in class io.nats.client.SubscribeOptions.Builder
-
Sets the durable consumer name for the subscriber.
- DURABLE_NAME - Static variable in interface io.nats.client.support.ApiConstants
-
- DURABLE_NAME_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- get(String) - Static method in enum io.nats.client.api.AckPolicy
-
- get(String) - Static method in enum io.nats.client.api.DeliverPolicy
-
- get(String) - Static method in enum io.nats.client.api.DiscardPolicy
-
- get(String) - Static method in enum io.nats.client.api.ReplayPolicy
-
- get(String) - Static method in enum io.nats.client.api.RetentionPolicy
-
- get(String) - Static method in enum io.nats.client.api.StorageType
-
- get(String) - Method in interface io.nats.client.KeyValue
-
Get the entry for a key
- get(String, long) - Method in interface io.nats.client.KeyValue
-
Get the specific revision of an entry for a key.
- getAccountStatistics() - Method in interface io.nats.client.JetStreamManagement
-
Gets the account statistics for the logged in account.
- getAckFloor() - Method in class io.nats.client.api.ConsumerInfo
-
- getAckPolicy() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the acknowledgment policy of this consumer configuration.
- getAckWait() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the acknowledgment wait of this consumer configuration.
- getActive() - Method in class io.nats.client.api.PeerInfo
-
- getAllowRollup() - Method in class io.nats.client.api.StreamConfiguration
-
Get the flag indicating whether or not the stream allows rollup.
- getApi() - Method in class io.nats.client.api.External
-
The subject prefix that imports the other account $JS.API.CONSUMER.> subjects
- getApiErrorCode() - Method in class io.nats.client.api.ApiResponse
-
- getApiErrorCode() - Method in class io.nats.client.api.Error
-
- getApiErrorCode() - Method in exception io.nats.client.JetStreamApiException
-
Get the error code from the response
- getAuthHandler() - Method in class io.nats.client.Options
-
- getBackingConfig() - Method in class io.nats.client.api.KeyValueConfiguration
-
Gets the stream configuration for the stream which backs the bucket
- getBackingStore() - Method in class io.nats.client.api.KeyValueStatus
-
Gets the name of the type of backing store, currently only "JetStream"
- getBackingStreamInfo() - Method in class io.nats.client.api.KeyValueStatus
-
Gets the info for the stream which backs the bucket.
- getBackoff() - Method in class io.nats.client.api.ConsumerConfiguration
-
Get the backoff list; may be empty, will never be null.
- getBucket() - Method in class io.nats.client.api.KeyValueEntry
-
- getBucketInfo(String) - Method in interface io.nats.client.KeyValueManagement
-
Gets the info for an existing bucket.
- getBucketName() - Method in class io.nats.client.api.KeyValueConfiguration
-
Gets the name of this bucket.
- getBucketName() - Method in class io.nats.client.api.KeyValueStatus
-
Get the name of the bucket
- getBucketName() - Method in interface io.nats.client.KeyValue
-
Get the name of the bucket.
- getBucketNames() - Method in interface io.nats.client.KeyValueManagement
-
Get the list of bucket names.
- getBufferSize() - Method in class io.nats.client.Options
-
- getByteCount() - Method in class io.nats.client.api.StreamState
-
Gets the byte count of the stream.
- getCalculatedPending() - Method in class io.nats.client.api.ConsumerInfo
-
- getClientId() - Method in class io.nats.client.api.ServerInfo
-
- getClientIp() - Method in class io.nats.client.api.ServerInfo
-
- getCluster() - Method in class io.nats.client.api.Placement
-
The desired cluster name to place the stream.
- getCluster() - Method in class io.nats.client.api.ServerInfo
-
- getClusterInfo() - Method in class io.nats.client.api.ConsumerInfo
-
- getClusterInfo() - Method in class io.nats.client.api.StreamInfo
-
- getCode() - Method in class io.nats.client.api.Error
-
- getCode() - Method in class io.nats.client.support.Status
-
- getConfiguration() - Method in class io.nats.client.api.KeyValueStatus
-
Gets the configuration object directly
- getConfiguration() - Method in class io.nats.client.api.StreamInfo
-
Gets the stream configuration.
- getConnectedUrl() - Method in interface io.nats.client.Connection
-
- getConnection() - Method in interface io.nats.client.Message
-
- getConnectionListener() - Method in class io.nats.client.Options
-
- getConnectionName() - Method in class io.nats.client.Options
-
- getConnectionTimeout() - Method in class io.nats.client.Options
-
- getConnectURLs() - Method in class io.nats.client.api.ServerInfo
-
- getConsumerConfiguration() - Method in class io.nats.client.api.ConsumerInfo
-
- getConsumerConfiguration() - Method in class io.nats.client.SubscribeOptions
-
Gets the consumer configuration.
- getConsumerCount() - Method in class io.nats.client.api.StreamState
-
Gets the number of consumers attached to the stream.
- getConsumerInfo(String, String) - Method in interface io.nats.client.JetStreamManagement
-
Gets the info for an existing consumer.
- getConsumerInfo() - Method in interface io.nats.client.JetStreamSubscription
-
Gets information about the consumer behind this subscription.
- getConsumerNames(String) - Method in interface io.nats.client.JetStreamManagement
-
Return a list of consumers by name
- getConsumers() - Method in class io.nats.client.api.AccountStatistics
-
Gets the number of consumers used by the JetStream deployment.
- getConsumers(String) - Method in interface io.nats.client.JetStreamManagement
-
Return a list of ConsumerInfo objects.
- getConsumerSequence() - Method in class io.nats.client.api.SequencePair
-
Gets the consumer sequence number.
- getCount() - Method in class io.nats.client.api.Subject
-
Get the subject message count
- getCreated() - Method in class io.nats.client.api.KeyValueEntry
-
- getCreateTime() - Method in class io.nats.client.api.StreamInfo
-
Gets the creation time of the stream.
- getCreationTime() - Method in class io.nats.client.api.ConsumerInfo
-
- getData() - Method in class io.nats.client.api.MessageInfo
-
Get the message data
- getData() - Method in interface io.nats.client.Message
-
- getDataLen() - Method in class io.nats.client.api.KeyValueEntry
-
- getDataPortType() - Method in class io.nats.client.Options
-
- getDeleted() - Method in class io.nats.client.api.StreamState
-
Get a list of the Deleted objects.
- getDeletedCount() - Method in class io.nats.client.api.StreamState
-
Gets the count of deleted messages
- getDeleteMarkersThresholdMillis() - Method in class io.nats.client.api.KeyValuePurgeOptions
-
The value of the delete marker threshold, in milliseconds.
- getDeliver() - Method in class io.nats.client.api.External
-
The delivery subject to use for the push consumer.
- getDelivered() - Method in class io.nats.client.api.ConsumerInfo
-
- getDeliveredCount() - Method in interface io.nats.client.Consumer
-
- getDeliverGroup() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the deliver group of this consumer configuration.
- getDeliverGroup() - Method in class io.nats.client.PushSubscribeOptions
-
Gets the deliver group held in the consumer configuration.
- getDeliverPolicy() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the deliver policy of this consumer configuration.
- getDeliverSubject() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the deliver subject of this consumer configuration.
- getDeliverSubject() - Method in class io.nats.client.PushSubscribeOptions
-
Gets the deliver subject held in the consumer configuration.
- getDelta() - Method in class io.nats.client.api.KeyValueEntry
-
- getDenyDelete() - Method in class io.nats.client.api.StreamConfiguration
-
Get the flag indicating whether or not deny delete is set for the stream
- getDenyPurge() - Method in class io.nats.client.api.StreamConfiguration
-
Get the flag indicating whether or not deny purge is set for the stream
- getDescription() - Method in class io.nats.client.api.ApiResponse
-
- getDescription() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the name of the description of this consumer configuration.
- getDescription() - Method in class io.nats.client.api.Error
-
- getDescription() - Method in class io.nats.client.api.KeyValueConfiguration
-
Gets the description of this bucket.
- getDescription() - Method in class io.nats.client.api.KeyValueStatus
-
Gets the description of this bucket.
- getDescription() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the description of this stream configuration.
- getDiscardPolicy() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the discard policy for this stream configuration.
- getDispatcher() - Method in interface io.nats.client.Subscription
-
- getDomain() - Method in class io.nats.client.api.PublishAck
-
Gets the domain of a stream
- getDroppedCount() - Method in interface io.nats.client.Consumer
-
- getDroppedCount() - Method in interface io.nats.client.Statistics
-
- getDuplicateWindow() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the duplicate checking window stream configuration.
- getDurable() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the name of the durable subscription for this consumer configuration.
- getDurable() - Method in class io.nats.client.SubscribeOptions
-
Gets the durable consumer name held in the consumer configuration.
- getDurationList(String, String) - Static method in class io.nats.client.support.JsonUtils
-
Extract a list durations for list object name.
- getEntryCount() - Method in class io.nats.client.api.KeyValueStatus
-
Get the number of total entries in the bucket, including historical entries
- getError() - Method in class io.nats.client.api.ApiResponse
-
- getErrorCode() - Method in class io.nats.client.api.ApiResponse
-
- getErrorCode() - Method in exception io.nats.client.JetStreamApiException
-
Get the error code from the response
- getErrorDescription() - Method in exception io.nats.client.JetStreamApiException
-
Get the description from the response
- getErrorListener() - Method in class io.nats.client.Options
-
- getExecutor() - Method in class io.nats.client.Options
-
- getExpectedLastMsgId() - Method in class io.nats.client.PublishOptions
-
Gets the expected last message ID in the stream.
- getExpectedLastSequence() - Method in class io.nats.client.PublishOptions
-
Gets the expected last sequence number of the stream.
- getExpectedLastSubjectSequence() - Method in class io.nats.client.PublishOptions
-
Gets the expected last subject sequence number of the stream.
- getExpectedStream() - Method in class io.nats.client.PublishOptions
-
Gets the expected stream.
- getFilterSubject() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the max filter subject of this consumer configuration.
- getFirstSequence() - Method in class io.nats.client.api.StreamState
-
Gets the first sequence number of the stream.
- getFirstTime() - Method in class io.nats.client.api.StreamState
-
Gets the time stamp of the first message in the stream
- getFormatted(Object) - Static method in class io.nats.client.support.JsonUtils
-
- getGoVersion() - Method in class io.nats.client.api.ServerInfo
-
- getHeaders() - Method in class io.nats.client.api.MessageInfo
-
Get the headers
- getHeaders() - Method in interface io.nats.client.Message
-
- getHeaders() - Method in class io.nats.client.support.IncomingHeadersProcessor
-
- getHeaderValue() - Method in enum io.nats.client.api.KeyValueOperation
-
- getHost() - Method in class io.nats.client.api.ServerInfo
-
- getID() - Method in interface io.nats.client.AuthHandler
-
getID should return a public key associated with a client key known to the server.
- getIdleHeartbeat() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the idle heart beat wait time
- getInactiveThreshold() - Method in class io.nats.client.api.ConsumerConfiguration
-
Get the amount of time before the ephemeral consumer is deemed inactive.
- getInboxPrefix() - Method in class io.nats.client.Options
-
- getInBytes() - Method in interface io.nats.client.Statistics
-
- getInMsgs() - Method in interface io.nats.client.Statistics
-
- getJetStreamOptions() - Method in class io.nats.client.KeyValueOptions
-
Gets the JetStream options for a KeyValue store
- getJsonObject(String, String) - Static method in class io.nats.client.support.JsonUtils
-
Extract a JSON object string by object name.
- getJsonObject(String, String, String) - Static method in class io.nats.client.support.JsonUtils
-
- getJWT() - Method in interface io.nats.client.AuthHandler
-
getJWT should return the user JWT associated with this connection.
- getKeep() - Method in class io.nats.client.PurgeOptions
-
Get the max number of messages to keep for the Purge Options
- getKey() - Method in class io.nats.client.api.KeyValueEntry
-
- getKeyPair() - Method in class io.nats.client.NKey
-
- getLag() - Method in class io.nats.client.api.PeerInfo
-
- getLastError() - Method in interface io.nats.client.Connection
-
- getLastMessage(String, String) - Method in interface io.nats.client.JetStreamManagement
-
Return an info object about the last message for a subject
- getLastSequence() - Method in class io.nats.client.api.StreamState
-
Gets the last sequence of a message in the stream
- getLastTime() - Method in class io.nats.client.api.StreamState
-
Gets the time stamp of the last message in the stream
- getLeader() - Method in class io.nats.client.api.ClusterInfo
-
- getLongList(String, String) - Static method in class io.nats.client.support.JsonUtils
-
Extract a list longs for list object name.
- getMaxAckPending() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the maximum ack pending configuration.
- getMaxAge() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the maximum message age for this stream configuration.
- getMaxBatch() - Method in class io.nats.client.api.ConsumerConfiguration
-
Get the max batch size for the server to allow on pull requests.
- getMaxBucketSize() - Method in class io.nats.client.api.KeyValueConfiguration
-
Gets the maximum number of bytes for this bucket.
- getMaxBucketSize() - Method in class io.nats.client.api.KeyValueStatus
-
Gets the maximum number of bytes for this bucket.
- getMaxBytes() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the maximum number of bytes for this stream configuration.
- getMaxConsumers() - Method in class io.nats.client.api.AccountLimits
-
Gets the maximum number of allowed consumers in the JetStream deployment.
- getMaxConsumers() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the maximum number of consumers for this stream configuration.
- getMaxControlLine() - Method in class io.nats.client.Options
-
- getMaxDeliver() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the max delivery amount of this consumer configuration.
- getMaxExpires() - Method in class io.nats.client.api.ConsumerConfiguration
-
Get the max amount of expire time for the server to allow on pull requests.
- getMaxHistoryPerKey() - Method in class io.nats.client.api.KeyValueConfiguration
-
Gets the maximum number of history for any one key.
- getMaxHistoryPerKey() - Method in class io.nats.client.api.KeyValueStatus
-
Gets the maximum number of history for any one key.
- getMaxMemory() - Method in class io.nats.client.api.AccountLimits
-
Gets the maximum amount of memory in the JetStream deployment.
- getMaxMessagesInOutgoingQueue() - Method in class io.nats.client.Options
-
- getMaxMsgs() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the maximum messages for this stream configuration.
- getMaxMsgSize() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the maximum message size for this stream configuration.
- getMaxMsgsPerSubject() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the maximum messages for this stream configuration.
- getMaxPayload() - Method in class io.nats.client.api.ServerInfo
-
- getMaxPayload() - Method in interface io.nats.client.Connection
-
MaxPayload returns the size limit that a message payload can have.
- getMaxPingsOut() - Method in class io.nats.client.Options
-
- getMaxPullWaiting() - Method in class io.nats.client.api.ConsumerConfiguration
-
Get the number of pulls that can be outstanding on a pull consumer
- getMaxReconnect() - Method in class io.nats.client.Options
-
- getMaxStorage() - Method in class io.nats.client.api.AccountLimits
-
Gets the maximum amount of storage in the JetStream deployment.
- getMaxStreams() - Method in class io.nats.client.api.AccountLimits
-
Gets the maximum number of allowed streams in the JetStream deployment.
- getMaxValueSize() - Method in class io.nats.client.api.KeyValueConfiguration
-
Gets the maximum size for an individual value in the bucket.
- getMaxValueSize() - Method in class io.nats.client.api.KeyValueStatus
-
Gets the maximum size for an individual value in the bucket.
- getMemory() - Method in class io.nats.client.api.AccountStatistics
-
Gets the amount of memory used by the JetStream deployment.
- getMessage(String, long) - Method in interface io.nats.client.JetStreamManagement
-
Return an info object about a message
- getMessage() - Method in class io.nats.client.support.Status
-
- getMessageAlarmTime() - Method in class io.nats.client.SubscribeOptions
-
Get the time amount of time allowed to elapse without a heartbeat.
- getMessageId() - Method in class io.nats.client.PublishOptions
-
Gets the message ID
- getMirror() - Method in class io.nats.client.api.StreamConfiguration
-
The mirror definition for this stream
- getMirrorInfo() - Method in class io.nats.client.api.StreamInfo
-
- getMsgCount() - Method in class io.nats.client.api.StreamState
-
Gets the message count of the stream.
- getName() - Method in class io.nats.client.api.ClusterInfo
-
- getName() - Method in class io.nats.client.api.ConsumerInfo
-
- getName() - Method in class io.nats.client.api.PeerInfo
-
- getName() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the name of this stream configuration.
- getName() - Method in class io.nats.client.api.Subject
-
Get the subject name
- getNoAck() - Method in class io.nats.client.api.StreamConfiguration
-
Gets whether or not acknowledgements are required in this stream configuration.
- getNonce() - Method in class io.nats.client.api.ServerInfo
-
- getNumAckPending() - Method in class io.nats.client.api.ConsumerInfo
-
- getNumPending() - Method in class io.nats.client.api.ConsumerInfo
-
- getNumWaiting() - Method in class io.nats.client.api.ConsumerInfo
-
- getObjectList(String, String) - Static method in class io.nats.client.support.JsonUtils
-
Extract a list JSON object strings for list object name.
- getOperation() - Method in class io.nats.client.api.KeyValueEntry
-
- getOperation(Headers) - Static method in class io.nats.client.support.NatsKeyValueUtil
-
- getOperationHeader(Headers) - Static method in class io.nats.client.support.NatsKeyValueUtil
-
- getOptions() - Method in interface io.nats.client.Connection
-
- getOrDefault(String, KeyValueOperation) - Static method in enum io.nats.client.api.KeyValueOperation
-
- getOrUnset(Duration) - Method in enum io.nats.client.api.ConsumerConfiguration.DurationChangeHelper
-
- getOrUnset(Long) - Method in enum io.nats.client.api.ConsumerConfiguration.LongChangeHelper
-
- getOrUnset(Long) - Method in enum io.nats.client.api.ConsumerConfiguration.UlongChangeHelper
-
- getOutBytes() - Method in interface io.nats.client.Statistics
-
- getOutMsgs() - Method in interface io.nats.client.Statistics
-
- getPassword() - Method in class io.nats.client.Options
-
- getPasswordChars() - Method in class io.nats.client.Options
-
- getPendingByteCount() - Method in interface io.nats.client.Consumer
-
- getPendingByteLimit() - Method in interface io.nats.client.Consumer
-
- getPendingMessageCount() - Method in interface io.nats.client.Consumer
-
- getPendingMessageLimit() - Method in interface io.nats.client.Consumer
-
- getPingInterval() - Method in class io.nats.client.Options
-
- getPlacement() - Method in class io.nats.client.api.StreamConfiguration
-
Placement directives to consider when placing replicas of this stream,
random placement when unset
- getPort() - Method in class io.nats.client.api.ServerInfo
-
- getPrefix() - Method in class io.nats.client.JetStreamOptions
-
Gets the prefix for this JetStream context.
- getPrivateKey() - Method in class io.nats.client.NKey
-
- getProtocolVersion() - Method in class io.nats.client.api.ServerInfo
-
- getPublicKey() - Method in class io.nats.client.NKey
-
- getPurged() - Method in class io.nats.client.api.PurgeResponse
-
Returns the number of items purged from the stream
- getPurgedCount() - Method in class io.nats.client.api.PurgeResponse
-
- getQueueName() - Method in interface io.nats.client.Subscription
-
- getRateLimit() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the rate limit for this consumer configuration.
- getReconnectBufferSize() - Method in class io.nats.client.Options
-
- getReconnectDelayHandler() - Method in class io.nats.client.Options
-
- getReconnectJitter() - Method in class io.nats.client.Options
-
- getReconnectJitterTls() - Method in class io.nats.client.Options
-
- getReconnects() - Method in interface io.nats.client.Statistics
-
- getReconnectWait() - Method in class io.nats.client.Options
-
- getRedelivered() - Method in class io.nats.client.api.ConsumerInfo
-
- getReplayPolicy() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the replay policy of this consumer configuration.
- getReplicas() - Method in class io.nats.client.api.ClusterInfo
-
- getReplicas() - Method in class io.nats.client.api.KeyValueConfiguration
-
Gets the number of replicas for this bucket.
- getReplicas() - Method in class io.nats.client.api.KeyValueStatus
-
Gets the number of replicas for this bucket.
- getReplicas() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the number of replicas for this stream configuration.
- getReplyTo() - Method in interface io.nats.client.Message
-
- getRequestCleanupInterval() - Method in class io.nats.client.Options
-
- getRequestTimeout() - Method in class io.nats.client.JetStreamOptions
-
Gets the request timeout the stream.
- getRetentionPolicy() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the retention policy for this stream configuration.
- getRevision() - Method in class io.nats.client.api.KeyValueEntry
-
- getSampleFrequency() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the sample frequency.
- getSealed() - Method in class io.nats.client.api.StreamConfiguration
-
Get the flag indicating whether or not the stream is sealed.
- getSeed() - Method in class io.nats.client.NKey
-
- getSeq() - Method in class io.nats.client.api.MessageInfo
-
Get the message sequence
- getSeqno() - Method in class io.nats.client.api.PublishAck
-
Get the stream sequence number for the corresponding published message.
- getSequence() - Method in class io.nats.client.PurgeOptions
-
Get the upper bound sequence for the Purge Options
- getSerializedLength() - Method in class io.nats.client.support.IncomingHeadersProcessor
-
- getServerId() - Method in class io.nats.client.api.ServerInfo
-
- getServerInfo() - Method in interface io.nats.client.Connection
-
- getServerName() - Method in class io.nats.client.api.ServerInfo
-
- getServers() - Method in interface io.nats.client.Connection
-
Return the list of known server urls, including additional servers discovered
after a connection has been established.
- getServers() - Method in class io.nats.client.Options
-
- getSID() - Method in interface io.nats.client.Message
-
- getSourceInfos() - Method in class io.nats.client.api.StreamInfo
-
- getSources() - Method in class io.nats.client.api.StreamConfiguration
-
The sources for this stream
- getSslContext() - Method in class io.nats.client.Options
-
- getStartSequence() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the start sequence of this consumer configuration.
- getStartTime() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets the start time of this consumer configuration.
- getStatistics() - Method in interface io.nats.client.Connection
-
- getStatus() - Method in interface io.nats.client.Connection
-
Returns the connections current status.
- getStatus() - Method in exception io.nats.client.JetStreamStatusException
-
Get the full status object
- getStatus() - Method in interface io.nats.client.KeyValue
-
Get the KeyValueStatus object
- getStatus() - Method in interface io.nats.client.Message
-
- getStatus() - Method in class io.nats.client.support.IncomingHeadersProcessor
-
- getStorage() - Method in class io.nats.client.api.AccountStatistics
-
Gets the amount of storage used by the JetStream deployment.
- getStorageType() - Method in class io.nats.client.api.KeyValueConfiguration
-
Gets the storage type for this bucket.
- getStorageType() - Method in class io.nats.client.api.KeyValueStatus
-
Gets the storage type for this bucket.
- getStorageType() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the storage type for this stream configuration.
- getStream() - Method in class io.nats.client.api.PublishAck
-
Get the name of the stream a published message was stored in.
- getStream() - Method in class io.nats.client.PublishOptions
-
Gets the name of the stream.
- getStream() - Method in class io.nats.client.SubscribeOptions
-
Gets the name of the stream.
- getStreamInfo(String) - Method in interface io.nats.client.JetStreamManagement
-
Gets the info for an existing stream.
- getStreamInfo(String, StreamInfoOptions) - Method in interface io.nats.client.JetStreamManagement
-
Gets the info for an existing stream, and include subject or deleted details
as defined by StreamInfoOptions.
- getStreamName() - Method in class io.nats.client.api.ConsumerInfo
-
- getStreamNames() - Method in interface io.nats.client.JetStreamManagement
-
Return a list of streams by name
- getStreams() - Method in class io.nats.client.api.AccountStatistics
-
Gets the number of streams used by the JetStream deployment.
- getStreams() - Method in interface io.nats.client.JetStreamManagement
-
Return a list of StreamInfo objects.
- getStreamSequence() - Method in class io.nats.client.api.SequencePair
-
Gets the stream sequence number.
- getStreamState() - Method in class io.nats.client.api.StreamInfo
-
Gets the stream state.
- getStreamTimeout() - Method in class io.nats.client.PublishOptions
-
Gets the publish timeout.
- getStringList(String, String) - Static method in class io.nats.client.support.JsonUtils
-
Extract a list strings for list object name.
- getSubject() - Method in class io.nats.client.api.MessageInfo
-
Get the message subject
- getSubject() - Method in interface io.nats.client.Message
-
- getSubject() - Method in class io.nats.client.PurgeOptions
-
Get the subject for the Purge Options
- getSubject() - Method in interface io.nats.client.Subscription
-
- getSubjectCount() - Method in class io.nats.client.api.StreamState
-
Gets the count of subjects in the stream.
- getSubjects() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the subjects for this stream configuration.
- getSubjects() - Method in class io.nats.client.api.StreamState
-
Get a list of the Subject objects.
- getSubscription() - Method in exception io.nats.client.JetStreamStatusException
-
Get the subscription this issue occurred on
- getSubscription() - Method in interface io.nats.client.Message
-
- getSuccess() - Method in class io.nats.client.api.SuccessApiResponse
-
- getTags() - Method in class io.nats.client.api.Placement
-
Tags required on servers hosting this stream
- getTemplateOwner() - Method in class io.nats.client.api.StreamConfiguration
-
Gets the template json for this stream configuration.
- getThis() - Method in class io.nats.client.PullSubscribeOptions.Builder
-
- getThis() - Method in class io.nats.client.PushSubscribeOptions.Builder
-
- getThis() - Method in class io.nats.client.SubscribeOptions.Builder
-
- getTime() - Method in class io.nats.client.api.MessageInfo
-
Get the time the message was received
- getToken() - Method in class io.nats.client.Options
-
- getTokenChars() - Method in class io.nats.client.Options
-
- getTtl() - Method in class io.nats.client.api.KeyValueConfiguration
-
Gets the maximum age for a value in this bucket.
- getTtl() - Method in class io.nats.client.api.KeyValueStatus
-
Gets the maximum age for a value in this bucket.
- getType() - Method in class io.nats.client.api.ApiResponse
-
- getType() - Method in class io.nats.client.NKey
-
- getUsername() - Method in class io.nats.client.Options
-
- getUsernameChars() - Method in class io.nats.client.Options
-
- getValue() - Method in class io.nats.client.api.KeyValueEntry
-
- getValue() - Method in class io.nats.client.support.Token
-
- getValueAsLong() - Method in class io.nats.client.api.KeyValueEntry
-
- getValueAsString() - Method in class io.nats.client.api.KeyValueEntry
-
- getVersion() - Method in class io.nats.client.api.ServerInfo
-
- getWaitTime(long) - Method in interface io.nats.client.ReconnectDelayHandler
-
Get the duration of time to wait before trying to reconnect against the server list
- GO - Static variable in interface io.nats.client.support.ApiConstants
-
- GO_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_ACK_PENDING - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_ACK_PENDING_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_AGE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_AGE_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_BATCH - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_BATCH_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_BYTES - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_BYTES_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_CONSUMERS - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_CONSUMERS_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_DELIVER - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_DELIVER_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_EXPIRES - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_EXPIRES_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_HISTORY_PER_KEY - Static variable in interface io.nats.client.support.NatsJetStreamConstants
-
The Max History Per Key KV key
- MAX_MEMORY - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_MEMORY_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_MESSAGES_IN_NETWORK_BUFFER - Static variable in class io.nats.client.Options
-
This value is used internally to limit the number of messages sent in a single network I/O.
- MAX_MSG_SIZE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_MSG_SIZE_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_MSGS - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_MSGS_PER_SUB - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_MSGS_PER_SUB_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_MSGS_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_PAYLOAD - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_PAYLOAD_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_PROTOCOL_RECEIVE_OP_LENGTH - Static variable in interface io.nats.client.support.NatsConstants
-
- MAX_PULL_SIZE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
-
The maximum pull size
- MAX_STORAGE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_STORAGE_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_STREAMS - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_STREAMS_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_WAITING - Static variable in interface io.nats.client.support.ApiConstants
-
- MAX_WAITING_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- maxAckPending(Long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the maximum ack pending or null to unset / clear.
- maxAckPending(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the maximum ack pending.
- maxAckPending - Variable in class io.nats.client.api.ConsumerConfiguration
-
- maxAckPendingWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets whether max ack pending for this consumer configuration was set or left unset
- maxAge(Duration) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the maximum age in the StreamConfiguration.
- maxAge(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the maximum age in the StreamConfiguration.
- maxBatch(Long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
sets the max batch size for the server to allow on pull requests.
- maxBatch(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
sets the max batch size for the server to allow on pull requests.
- maxBatch - Variable in class io.nats.client.api.ConsumerConfiguration
-
- maxBatchWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets whether max batch for this consumer configuration was set or left unset
- maxBucketSize(long) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
-
Sets the maximum number of bytes in the KeyValueConfiguration.
- maxBytes(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the maximum number of bytes in the StreamConfiguration.
- maxConsumers(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the maximum number of consumers in the StreamConfiguration.
- maxControlLine(int) - Method in class io.nats.client.Options.Builder
-
Set the maximum length of a control line sent by this connection.
- maxDeliver(Long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the maximum delivery amount of the ConsumerConfiguration or null to unset / clear.
- maxDeliver(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the maximum delivery amount of the ConsumerConfiguration.
- maxDeliver - Variable in class io.nats.client.api.ConsumerConfiguration
-
- maxDeliverWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets whether max deliver for this consumer configuration was set or left unset
- maxExpires(Duration) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
sets the max amount of expire time for the server to allow on pull requests.
- maxExpires(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
sets the max amount of expire time for the server to allow on pull requests.
- maxExpires - Variable in class io.nats.client.api.ConsumerConfiguration
-
- maxHistoryPerKey(int) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
-
Sets the maximum number of history for any one key.
- maxMessages(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the maximum number of messages in the StreamConfiguration.
- maxMessagesInOutgoingQueue(int) - Method in class io.nats.client.Options.Builder
-
Set the maximum number of messages in the outgoing queue.
- maxMessagesPerSubject(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the maximum number of message per subject in the StreamConfiguration.
- maxMsgSize(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the maximum message size in the StreamConfiguration.
- maxPingsOut(int) - Method in class io.nats.client.Options.Builder
-
Set the maximum number of pings the client can have in flight.
- maxPullWaiting(Long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
sets the max pull waiting, the number of pulls that can be outstanding on a pull consumer, pulls received after this is reached are ignored.
- maxPullWaiting(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
sets the max pull waiting, the number of pulls that can be outstanding on a pull consumer, pulls received after this is reached are ignored.
- maxPullWaiting - Variable in class io.nats.client.api.ConsumerConfiguration
-
- maxPullWaitingWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets whether max pull waiting for this consumer configuration was set or left unset
- maxReconnects(int) - Method in class io.nats.client.Options.Builder
-
Set the maximum number of reconnect attempts.
- maxValueSize(long) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
-
Sets the maximum size for an individual value in the KeyValueConfiguration.
- MEMORY - Static variable in interface io.nats.client.support.ApiConstants
-
- MEMORY_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- Message - Interface in io.nats.client
-
The NATS library uses a Message object to encapsulate incoming messages.
- message() - Method in class io.nats.client.support.NatsJetStreamClientError
-
- messageAlarmTime(long) - Method in class io.nats.client.SubscribeOptions.Builder
-
Set the total amount of time to not receive any messages or heartbeats
before calling the ErrorListener heartbeatAlarm
- messageAlarmTime - Variable in class io.nats.client.SubscribeOptions
-
- messageDiscarded(Connection, Message) - Method in interface io.nats.client.ErrorListener
-
Called by the connection when a message is discarded.
- MessageHandler - Interface in io.nats.client
-
Dispatchers
use the MessageHandler interface to define the listener
for their messages.
- messageId(String) - Method in class io.nats.client.PublishOptions.Builder
-
Sets the message id.
- MessageInfo - Class in io.nats.client.api
-
The MessageInfo class contains information about a JetStream message.
- MessageInfo(Message) - Constructor for class io.nats.client.api.MessageInfo
-
- MESSAGES - Static variable in interface io.nats.client.support.ApiConstants
-
- MESSAGES_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- metaData() - Method in interface io.nats.client.Message
-
Gets the metadata associated with a JetStream message.
- Min - Variable in enum io.nats.client.api.ConsumerConfiguration.DurationChangeHelper
-
- Min - Variable in enum io.nats.client.api.ConsumerConfiguration.LongChangeHelper
-
- Min - Variable in enum io.nats.client.api.ConsumerConfiguration.UlongChangeHelper
-
- MIN_IDLE_HEARTBEAT - Static variable in class io.nats.client.api.ConsumerConfiguration
-
- MinNanos - Variable in enum io.nats.client.api.ConsumerConfiguration.DurationChangeHelper
-
- Mirror - Class in io.nats.client.api
-
Mirror Information.
- mirror(Mirror) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the mirror object
- MIRROR - Static variable in interface io.nats.client.support.ApiConstants
-
- Mirror.Builder - Class in io.nats.client.api
-
- MirrorInfo - Class in io.nats.client.api
-
Information about an upstream stream source in a mirror
- MSG_ID_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
-
- MSG_SIZE_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
-
- mustBe(TokenType) - Method in class io.nats.client.support.Token
-
- parseDateTime(String) - Static method in class io.nats.client.support.DateTimeUtils
-
Parses a date time from the server.
- pedantic() - Method in class io.nats.client.Options.Builder
-
Turn on pedantic mode for the server, in relation to this connection.
- PeerInfo - Class in io.nats.client.api
-
- pingInterval(Duration) - Method in class io.nats.client.Options.Builder
-
Set the interval between attempts to pings the server.
- Placement - Class in io.nats.client.api
-
Placement directives to consider when placing replicas of a stream
- placement(Placement) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the placement directive object
- PLACEMENT - Static variable in interface io.nats.client.support.ApiConstants
-
- PORT - Static variable in interface io.nats.client.support.ApiConstants
-
- PORT_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- PRAND - Static variable in class io.nats.client.support.RandomUtils
-
- prefix(String) - Method in class io.nats.client.JetStreamOptions.Builder
-
Sets the prefix for JetStream subjects.
- PREFIX_API_DOT - Static variable in interface io.nats.client.support.NatsJetStreamConstants
-
- PREFIX_DOLLAR_JS_DOT - Static variable in interface io.nats.client.support.NatsJetStreamConstants
-
- printFormatted(Object) - Static method in class io.nats.client.support.JsonUtils
-
- PROP_CLEANUP_INTERVAL - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_CLIENT_SIDE_LIMIT_CHECKS - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_CONNECTION_CB - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_CONNECTION_NAME - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_CONNECTION_TIMEOUT - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_DATA_PORT_TYPE - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_DISCARD_MESSAGES_WHEN_OUTGOING_QUEUE_FULL - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_ERROR_LISTENER - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_INBOX_PREFIX - Static variable in class io.nats.client.Options
-
Property used to set the inbox prefix
- PROP_MAX_CONTROL_LINE - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_MAX_MESSAGES_IN_OUTGOING_QUEUE - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_MAX_PINGS - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_MAX_RECONNECT - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_NO_ECHO - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_NO_HEADERS - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_NO_NORESPONDERS - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_NORANDOMIZE - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_OPENTLS - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_PASSWORD - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_PEDANTIC - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_PING_INTERVAL - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_PUBLISH_TIMEOUT - Static variable in class io.nats.client.PublishOptions
-
Property used to configure a builder from a Properties object..
- PROP_RECONNECT_BUF_SIZE - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_RECONNECT_JITTER - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_RECONNECT_JITTER_TLS - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_RECONNECT_WAIT - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_SECURE - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_SERVERS - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_STREAM_NAME - Static variable in class io.nats.client.PublishOptions
-
Property used to configure a builder from a Properties object.
- PROP_TOKEN - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_URL - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_USE_OLD_REQUEST_STYLE - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_USERNAME - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROP_UTF8_SUBJECTS - Static variable in class io.nats.client.Options
-
- PROP_VERBOSE - Static variable in class io.nats.client.Options
-
Property used to configure a builder from a Properties object.
- PROTO - Static variable in interface io.nats.client.support.ApiConstants
-
- PROTO_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- PUB_SP_BYTES - Static variable in interface io.nats.client.support.NatsConstants
-
- PUB_SP_BYTES_LEN - Static variable in interface io.nats.client.support.NatsConstants
-
- publish(String, byte[]) - Method in interface io.nats.client.Connection
-
Send a message to the specified subject.
- publish(String, String, byte[]) - Method in interface io.nats.client.Connection
-
Send a request to the specified subject, providing a replyTo subject.
- publish(Message) - Method in interface io.nats.client.Connection
-
Send a message to the specified subject.
- publish(String, byte[]) - Method in interface io.nats.client.JetStream
-
Send a message to the specified subject and waits for a response from
Jetstream.
- publish(String, byte[], PublishOptions) - Method in interface io.nats.client.JetStream
-
Send a message to the specified subject and waits for a response from
Jetstream.
- publish(Message) - Method in interface io.nats.client.JetStream
-
Send a message to the specified subject and waits for a response from
Jetstream.
- publish(Message, PublishOptions) - Method in interface io.nats.client.JetStream
-
Send a message to the specified subject and waits for a response from
Jetstream.
- PublishAck - Class in io.nats.client.api
-
PublishAck objects represent a JetStream enabled server acknowledgment from a publish call.
- PublishAck(Message) - Constructor for class io.nats.client.api.PublishAck
-
- publishAsync(String, byte[]) - Method in interface io.nats.client.JetStream
-
Send a message to the specified subject but does not wait for a response from
Jetstream.
- publishAsync(String, byte[], PublishOptions) - Method in interface io.nats.client.JetStream
-
Send a message to the specified subject but does not wait for a response from
Jetstream.
- publishAsync(Message) - Method in interface io.nats.client.JetStream
-
Send a message to the specified subject but does not wait for a response from
Jetstream.
- publishAsync(Message, PublishOptions) - Method in interface io.nats.client.JetStream
-
Send a message to the specified subject but does not wait for a response from
Jetstream.
- publishNoAck(boolean) - Method in class io.nats.client.JetStreamOptions.Builder
-
Sets whether the streams in use by contexts created with these options are no-ack streams.
- PublishOptions - Class in io.nats.client
-
The PublishOptions class specifies the options for publishing with JetStream enabled servers.
- PublishOptions.Builder - Class in io.nats.client
-
PublishOptions are created using a Builder.
- pull(int) - Method in interface io.nats.client.JetStreamSubscription
-
Polls for new messages, overriding the default batch size for this pull only.
- pull - Variable in class io.nats.client.SubscribeOptions
-
- pullExpiresIn(int, Duration) - Method in interface io.nats.client.JetStreamSubscription
-
Initiate pull for all messages available before expiration.
- pullExpiresIn(int, long) - Method in interface io.nats.client.JetStreamSubscription
-
Initiate pull for all messages available before expiration.
- pullNoWait(int) - Method in interface io.nats.client.JetStreamSubscription
-
Do a pull in noWait mode with the specified batch size.
- pullNoWait(int, Duration) - Method in interface io.nats.client.JetStreamSubscription
-
Do a pull in noWait mode with the specified batch size.
- pullNoWait(int, long) - Method in interface io.nats.client.JetStreamSubscription
-
Do a pull in noWait mode with the specified batch size.
- PullSubscribeOptions - Class in io.nats.client
-
The PullSubscribeOptions class specifies the options for subscribing with JetStream enabled servers.
- PullSubscribeOptions.Builder - Class in io.nats.client
-
PullSubscribeOptions can be created using a Builder.
- purge(String) - Method in interface io.nats.client.KeyValue
-
Purge all values/history from the specific key
- PURGE_HEADERS - Static variable in class io.nats.client.support.NatsKeyValueUtil
-
- PURGED - Static variable in interface io.nats.client.support.ApiConstants
-
- PURGED_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- purgeDeletes() - Method in interface io.nats.client.KeyValue
-
Remove history from all keys that currently are deleted or purged
with using a default KeyValuePurgeOptions
- purgeDeletes(KeyValuePurgeOptions) - Method in interface io.nats.client.KeyValue
-
Remove history from all keys that currently are deleted or purged, considering options.
- PurgeOptions - Class in io.nats.client
-
The PurgeOptions class specifies the options for purging a stream
- PurgeOptions.Builder - Class in io.nats.client
-
- PurgeResponse - Class in io.nats.client.api
-
- PurgeResponse(Message) - Constructor for class io.nats.client.api.PurgeResponse
-
- purgeStream(String) - Method in interface io.nats.client.JetStreamManagement
-
Purge stream messages
- purgeStream(String, PurgeOptions) - Method in interface io.nats.client.JetStreamManagement
-
Purge messages for a specific subject
- PUSH_BOUND - Static variable in interface io.nats.client.support.ApiConstants
-
- PUSH_BOUND_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- PushSubscribeOptions - Class in io.nats.client
-
The PushSubscribeOptions class specifies the options for subscribing with JetStream enabled servers.
- PushSubscribeOptions.Builder - Class in io.nats.client
-
PushSubscribeOptions can be created using a Builder.
- put(String, byte[]) - Method in interface io.nats.client.KeyValue
-
Put a byte[] as the value for a key
- put(String, String) - Method in interface io.nats.client.KeyValue
-
Put a string as the value for a key
- put(String, Number) - Method in interface io.nats.client.KeyValue
-
Put a long as the value for a key
- safeParseLong(String) - Static method in class io.nats.client.support.JsonUtils
-
- safeParseLong(String, long) - Static method in class io.nats.client.support.JsonUtils
-
- samePoint(Token) - Method in class io.nats.client.support.Token
-
- SAMPLE_FREQ - Static variable in interface io.nats.client.support.ApiConstants
-
- SAMPLE_FREQ_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- sampleFrequency(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the sample frequency of the ConsumerConfiguration.
- sampleFrequency - Variable in class io.nats.client.api.ConsumerConfiguration
-
- sealed(boolean) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Set whether to seal the stream.
- SEALED - Static variable in interface io.nats.client.support.ApiConstants
-
- SEALED_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- secure() - Method in class io.nats.client.Options.Builder
-
Sets the options to use the default SSL Context, if it exists.
- seq - Variable in class io.nats.client.PurgeOptions
-
- SEQ - Static variable in interface io.nats.client.support.ApiConstants
-
- SEQ_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- sequence(long) - Method in class io.nats.client.PurgeOptions.Builder
-
Set upper-bound sequence for messages to be deleted
- SequencePair - Class in io.nats.client.api
-
This class holds the sequence numbers for a consumer and
stream.
- serialize() - Method in interface io.nats.client.support.JsonSerializable
-
- SERIALIZED_HEADER_CANNOT_BE_NULL_OR_EMPTY - Static variable in interface io.nats.client.support.NatsConstants
-
- server(String) - Method in class io.nats.client.Options.Builder
-
Add a server to the list of known servers.
- SERVER_ID - Static variable in interface io.nats.client.support.ApiConstants
-
- SERVER_ID_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- SERVER_NAME - Static variable in interface io.nats.client.support.ApiConstants
-
- SERVER_NAME_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- ServerInfo - Class in io.nats.client.api
-
- ServerInfo(String) - Constructor for class io.nats.client.api.ServerInfo
-
- servers(String[]) - Method in class io.nats.client.Options.Builder
-
Add an array of servers to the list of known servers.
- setAllocationSize(int) - Method in class io.nats.client.support.ByteArrayBuilder
-
Change the allocation size
- setOldRequestStyle(boolean) - Method in class io.nats.client.Options
-
Set old request style.
- setPendingLimits(long, long) - Method in interface io.nats.client.Consumer
-
Set limits on the maximum number of messages, or maximum size of messages this consumer
will hold before it starts to drop new messages waiting for the application to drain the queue.
- sign(byte[]) - Method in interface io.nats.client.AuthHandler
-
Sign is called by the library when the server sends a nonce.
- sign(byte[]) - Method in class io.nats.client.NKey
-
Sign aribitrary binary input.
- simpleMessageBody(String, Number) - Static method in class io.nats.client.support.JsonUtils
-
- simpleMessageBody(String, String) - Static method in class io.nats.client.support.JsonUtils
-
- slowConsumerDetected(Connection, Consumer) - Method in interface io.nats.client.ErrorListener
-
Called by the connection when a "slow" consumer is detected.
- Source - Class in io.nats.client.api
-
Source Information
- SOURCE - Static variable in interface io.nats.client.support.ApiConstants
-
- Source.Builder - Class in io.nats.client.api
-
- SourceInfo - Class in io.nats.client.api
-
Information about a stream being sourced
- sources(Source...) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the sources in the StreamConfiguration.
- sources(Collection<Source>) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the sources in the StreamConfiguration.
- SOURCES - Static variable in interface io.nats.client.support.ApiConstants
-
- SP - Static variable in interface io.nats.client.support.NatsConstants
-
- SPACE - Static variable in interface io.nats.client.support.NatsConstants
-
- SRAND - Static variable in class io.nats.client.support.RandomUtils
-
- sslContext(SSLContext) - Method in class io.nats.client.Options.Builder
-
Set the SSL context, requires that the server supports TLS connections and
the URI specifies TLS.
- SSLUtils - Class in io.nats.client.support
-
- SSLUtils() - Constructor for class io.nats.client.support.SSLUtils
-
- startSeq - Variable in class io.nats.client.api.ConsumerConfiguration
-
- startSequence(Long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the start sequence of the ConsumerConfiguration or null to unset / clear.
- startSequence(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the start sequence of the ConsumerConfiguration.
- startSeqWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
-
Gets whether start sequence for this consumer configuration was set or left unset
- startTime(ZonedDateTime) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
-
Sets the start time of the ConsumerConfiguration.
- startTime - Variable in class io.nats.client.api.ConsumerConfiguration
-
- STATE - Static variable in interface io.nats.client.support.ApiConstants
-
- staticCredentials(char[], char[]) - Static method in class io.nats.client.Nats
-
Create an auth handler from an nkey and an option JWT.
- Statistics - Interface in io.nats.client
-
- Status - Class in io.nats.client.support
-
- Status(int, String) - Constructor for class io.nats.client.support.Status
-
- Status(Token, Token) - Constructor for class io.nats.client.support.Status
-
- STORAGE - Static variable in interface io.nats.client.support.ApiConstants
-
- STORAGE_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- STORAGE_TYPE_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- storageType(StorageType) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
-
Sets the storage type in the KeyValueConfiguration.
- StorageType - Enum in io.nats.client.api
-
Stream storage types.
- storageType(StorageType) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the storage type in the StreamConfiguration.
- stream(String) - Method in class io.nats.client.PublishOptions.Builder
-
Sets the stream name for publishing.
- stream(String) - Static method in class io.nats.client.PushSubscribeOptions
-
Macro to create a default PushSubscribeOptions except for
where you must specify the stream because
the subject could apply to both a stream and a mirror.
- stream(String) - Method in class io.nats.client.SubscribeOptions.Builder
-
Specify the stream to attach to.
- stream - Variable in class io.nats.client.SubscribeOptions
-
- STREAM - Static variable in interface io.nats.client.support.ApiConstants
-
- STREAM_NAME - Static variable in interface io.nats.client.support.ApiConstants
-
- STREAM_NAME_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- STREAM_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- STREAM_SEQ - Static variable in interface io.nats.client.support.ApiConstants
-
- STREAM_SEQ_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- StreamConfiguration - Class in io.nats.client.api
-
The StreamConfiguration class specifies the configuration for creating a JetStream stream on the server.
- StreamConfiguration.Builder - Class in io.nats.client.api
-
StreamConfiguration is created using a Builder.
- StreamInfo - Class in io.nats.client.api
-
The StreamInfo class contains information about a JetStream stream.
- StreamInfo(Message) - Constructor for class io.nats.client.api.StreamInfo
-
- StreamInfo(String) - Constructor for class io.nats.client.api.StreamInfo
-
- StreamInfoOptions - Class in io.nats.client.api
-
Object used to make a request for special stream info requests
- StreamInfoOptions.Builder - Class in io.nats.client.api
-
StreamInfoOptions is created using a Builder.
- STREAMS - Static variable in interface io.nats.client.support.ApiConstants
-
- STREAMS_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- StreamState - Class in io.nats.client.api
-
- streamTimeout(Duration) - Method in class io.nats.client.PublishOptions.Builder
-
Sets the timeout to wait for a publish acknowledgement from a JetStream
enabled NATS server.
- string_array_pattern(String) - Static method in class io.nats.client.support.JsonUtils
-
- string_pattern(String) - Static method in class io.nats.client.support.JsonUtils
-
- SUB_SP_BYTES - Static variable in interface io.nats.client.support.NatsConstants
-
- Subject - Class in io.nats.client.api
-
- subject(String) - Method in class io.nats.client.PurgeOptions.Builder
-
Set the subject to filter the purge.
- subject - Variable in class io.nats.client.PurgeOptions
-
- subject(String) - Static method in class io.nats.client.PurgeOptions
-
Creates a completed Purge Options for just a subject
- SUBJECT - Static variable in interface io.nats.client.support.ApiConstants
-
- SUBJECT_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- subjects(String...) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the subjects in the StreamConfiguration.
- subjects(Collection<String>) - Method in class io.nats.client.api.StreamConfiguration.Builder
-
Sets the subjects in the StreamConfiguration.
- SUBJECTS - Static variable in interface io.nats.client.support.ApiConstants
-
- SUBJECTS_FILTER - Static variable in interface io.nats.client.support.ApiConstants
-
- subscribe(String) - Method in interface io.nats.client.Connection
-
Create a synchronous subscription to the specified subject.
- subscribe(String, String) - Method in interface io.nats.client.Connection
-
Create a synchronous subscription to the specified subject and queue.
- subscribe(String) - Method in interface io.nats.client.Dispatcher
-
Create a subscription to the specified subject under the control of this
dispatcher.
- subscribe(String, String) - Method in interface io.nats.client.Dispatcher
-
Create a subscription to the specified subject and queue under the control of
this dispatcher.
- subscribe(String, MessageHandler) - Method in interface io.nats.client.Dispatcher
-
Create a subscription to the specified subject under the control of this
dispatcher.
- subscribe(String, String, MessageHandler) - Method in interface io.nats.client.Dispatcher
-
Create a subscription to the specified subject under the control of this
dispatcher.
- subscribe(String) - Method in interface io.nats.client.JetStream
-
Create a synchronous subscription to the specified subject with default options.
- subscribe(String, PushSubscribeOptions) - Method in interface io.nats.client.JetStream
-
Create a synchronous subscription to the specified subject.
- subscribe(String, String, PushSubscribeOptions) - Method in interface io.nats.client.JetStream
-
Create a synchronous subscription to the specified subject.
- subscribe(String, Dispatcher, MessageHandler, boolean) - Method in interface io.nats.client.JetStream
-
Create an asynchronous subscription to the specified subject under the control of the
specified dispatcher.
- subscribe(String, Dispatcher, MessageHandler, boolean, PushSubscribeOptions) - Method in interface io.nats.client.JetStream
-
Create an asynchronous subscription to the specified subject under the control of the
specified dispatcher.
- subscribe(String, String, Dispatcher, MessageHandler, boolean, PushSubscribeOptions) - Method in interface io.nats.client.JetStream
-
Create an asynchronous subscription to the specified subject under the control of the
specified dispatcher.
- subscribe(String, PullSubscribeOptions) - Method in interface io.nats.client.JetStream
-
Create a subscription to the specified subject in the mode of pull, with additional options
- SubscribeOptions - Class in io.nats.client
-
The SubscribeOptions is the base class for PushSubscribeOptions and PullSubscribeOptions
- SubscribeOptions(SubscribeOptions.Builder, boolean, boolean, String, String) - Constructor for class io.nats.client.SubscribeOptions
-
- SubscribeOptions.Builder<B,SO> - Class in io.nats.client
-
PushSubscribeOptions can be created using a Builder.
- Subscription - Interface in io.nats.client
-
A Subscription encapsulates an incoming queue of messages associated with a single
subject and optional queue name.
- SUCCESS - Static variable in interface io.nats.client.support.ApiConstants
-
- SUCCESS_RE - Static variable in interface io.nats.client.support.ApiConstants
-
- SuccessApiResponse - Class in io.nats.client.api
-
- SuccessApiResponse(Message) - Constructor for class io.nats.client.api.SuccessApiResponse
-
- supportUTF8Subjects() - Method in class io.nats.client.Options.Builder
-
- supportUTF8Subjects() - Method in class io.nats.client.Options
-
- validateDurable(String, boolean) - Static method in class io.nats.client.support.Validator
-
- validateDurationNotRequiredGtOrEqZero(Duration, Duration) - Static method in class io.nats.client.support.Validator
-
- validateDurationNotRequiredGtOrEqZero(long) - Static method in class io.nats.client.support.Validator
-
- validateDurationNotRequiredNotLessThanMin(Duration, Duration) - Static method in class io.nats.client.support.Validator
-
- validateDurationNotRequiredNotLessThanMin(long, Duration) - Static method in class io.nats.client.support.Validator
-
- validateDurationRequired(Duration) - Static method in class io.nats.client.support.Validator
-
- validateGtEqMinus1(long, String) - Static method in class io.nats.client.support.Validator
-
- validateGtEqZero(long, String) - Static method in class io.nats.client.support.Validator
-
- validateGtZeroOrMinus1(long, String) - Static method in class io.nats.client.support.Validator
-
- validateKvBucketName(String, String, boolean) - Static method in class io.nats.client.support.Validator
-
- validateKvBucketNameRequired(String) - Static method in class io.nats.client.support.Validator
-
- validateKvKeyWildcardAllowedRequired(String) - Static method in class io.nats.client.support.Validator
-
- validateMaxBucketBytes(long) - Static method in class io.nats.client.support.Validator
-
- validateMaxBytes(long) - Static method in class io.nats.client.support.Validator
-
- validateMaxConsumers(long) - Static method in class io.nats.client.support.Validator
-
- validateMaxHistory(int) - Static method in class io.nats.client.support.Validator
-
- validateMaxLength(String, int, boolean, String) - Static method in class io.nats.client.support.Validator
-
- validateMaxMessages(long) - Static method in class io.nats.client.support.Validator
-
- validateMaxMessageSize(long) - Static method in class io.nats.client.support.Validator
-
- validateMaxMessagesPerSubject(long) - Static method in class io.nats.client.support.Validator
-
- validateMaxValueSize(long) - Static method in class io.nats.client.support.Validator
-
- validateMustMatchIfBothSupplied(String, String, NatsJetStreamClientError) - Static method in class io.nats.client.support.Validator
-
- validateNonWildcardKvKey(String, String, boolean) - Static method in class io.nats.client.support.Validator
-
- validateNonWildcardKvKeyRequired(String) - Static method in class io.nats.client.support.Validator
-
- validateNotNegative(long, String) - Static method in class io.nats.client.support.Validator
-
- validateNotNull(Object, String) - Static method in class io.nats.client.support.Validator
-
- validateNotSupplied(String, NatsJetStreamClientError) - Static method in class io.nats.client.support.Validator
-
- validateNumberOfReplicas(int) - Static method in class io.nats.client.support.Validator
-
- validatePrefixOrDomain(String, String, boolean) - Static method in class io.nats.client.support.Validator
-
- validatePrintable(String, String, boolean) - Static method in class io.nats.client.support.Validator
-
- validatePrintableExceptWildDotGt(String, String, boolean) - Static method in class io.nats.client.support.Validator
-
- validatePrintableExceptWildGt(String, String, boolean) - Static method in class io.nats.client.support.Validator
-
- validatePullBatchSize(int) - Static method in class io.nats.client.support.Validator
-
- validateQueueName(String, boolean) - Static method in class io.nats.client.support.Validator
-
- validateReplyTo(String, boolean) - Static method in class io.nats.client.support.Validator
-
- validateStreamName(String, boolean) - Static method in class io.nats.client.support.Validator
-
- validateSubject(String, boolean) - Static method in class io.nats.client.support.Validator
-
- validateWildcardKvKey(String, String, boolean) - Static method in class io.nats.client.support.Validator
-
- Validator - Class in io.nats.client.support
-
- valueOf(String) - Static method in enum io.nats.client.api.AckPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.api.ConsumerConfiguration.DurationChangeHelper
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.api.ConsumerConfiguration.LongChangeHelper
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.api.ConsumerConfiguration.UlongChangeHelper
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.api.DeliverPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.api.DiscardPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.api.KeyValueOperation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.api.KeyValueWatchOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.api.ReplayPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.api.RetentionPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.api.StorageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.Connection.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.ConnectionListener.Events
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.ErrorListener.FlowControlSource
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.NKey.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.support.JsonUtils.FieldType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.nats.client.support.TokenType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.nats.client.api.AckPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.api.ConsumerConfiguration.DurationChangeHelper
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.api.ConsumerConfiguration.LongChangeHelper
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.api.ConsumerConfiguration.UlongChangeHelper
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.api.DeliverPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.api.DiscardPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.api.KeyValueOperation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.api.KeyValueWatchOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.api.ReplayPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.api.RetentionPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.api.StorageType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.Connection.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.ConnectionListener.Events
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.ErrorListener.FlowControlSource
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.NKey.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.support.JsonUtils.FieldType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.nats.client.support.TokenType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verbose() - Method in class io.nats.client.Options.Builder
-
Turn on verbose mode with the server.
- verify(byte[], byte[]) - Method in class io.nats.client.NKey
-
Verify a signature.
- VERSION - Static variable in interface io.nats.client.support.ApiConstants
-
- VERSION_RE - Static variable in interface io.nats.client.support.ApiConstants
-