Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Z _ 

A

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
 
AccountTier - Class in io.nats.client.api
Represents the JetStream Account Tier
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() - Method in class io.nats.service.ServiceMessage
 
ACK_FLOOR - Static variable in interface io.nats.client.support.ApiConstants
 
ACK_POLICY - Static variable in interface io.nats.client.support.ApiConstants
 
ACK_WAIT - 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.
ackSync(Duration) - Method in class io.nats.service.ServiceMessage
 
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
 
add(Object) - Method in class io.nats.client.support.JsonValueUtils.ArrayBuilder
 
addBucketLink(String, ObjectStore) - Method in interface io.nats.client.ObjectStore
Add a link to another object store (bucket).
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.
addField(StringBuilder, String, Headers) - Static method in class io.nats.client.support.JsonUtils
 
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.
addLink(String, ObjectInfo) - Method in interface io.nats.client.ObjectStore
Add a link to another object.
addOrUpdateConsumer(String, ConsumerConfiguration) - Method in interface io.nats.client.JetStreamManagement
Loads or creates a consumer.
addRawJson(StringBuilder, String, String) - Static method in class io.nats.client.support.JsonUtils
Appends a json field to a string builder.
addServiceEndpoint(ServiceEndpoint) - Method in class io.nats.service.ServiceBuilder
 
addSource(Source) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Add a source into the KeyValueConfiguration.
addSource(Source) - Method in class io.nats.client.api.StreamConfiguration.Builder
Add a source into the StreamConfiguration.
addSources(Source...) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Adds the sources into the KeyValueConfiguration
addSources(Collection<Source>) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Adds the sources into the KeyValueConfiguration
addSources(Source...) - Method in class io.nats.client.api.StreamConfiguration.Builder
Add the sources into 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
Adds unique subjects into the StreamConfiguration.
addSubjects(Collection<String>) - Method in class io.nats.client.api.StreamConfiguration.Builder
Adds unique subjects into the StreamConfiguration.
ALLOCATION_BOUNDARY - Static variable in class io.nats.client.support.BuilderBase
 
allocationSize - Variable in class io.nats.client.support.BuilderBase
 
ALLOW_DIRECT - Static variable in interface io.nats.client.support.ApiConstants
 
ALLOW_ROLLUP_HDRS - Static variable in interface io.nats.client.support.ApiConstants
 
allowDirect(boolean) - Method in class io.nats.client.api.StreamConfiguration.Builder
Set whether to allow direct message access for a stream
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(String) - Method in class io.nats.client.api.External.Builder
Set the api string.
API - Static variable in interface io.nats.client.support.ApiConstants
 
API_URL - 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(JsonValue) - Constructor for class io.nats.client.api.ApiResponse
 
ApiResponse() - Constructor for class io.nats.client.api.ApiResponse
 
ApiStats - Class in io.nats.client.api
Represents the JetStream Account Api Stats
apiUrl(String) - Method in class io.nats.service.ServiceBuilder
 
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 an entire 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
Appends the data bytes from an existing byte array builder
append(int) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append a String representation of the number.
append(String) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append a String with the default charset.
append(String, Charset) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append a String with specified charset.
append(CharBuffer) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append a CharBuffer with default charset.
append(CharBuffer, Charset) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append a CharBuffer with specified charset.
append(byte) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append a byte as is
append(byte[]) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append an entire byte array
append(byte[], int) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append len bytes from the start of byte array
append(byte[], int, int) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append a byte array
append(ByteArrayPrimitiveBuilder) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Appends the data bytes from an existing byte array primitive builder
appendGroup(Group) - Method in class io.nats.service.Group
 
appendUnchecked(byte) - Method in class io.nats.client.support.BuilderBase
Append a single byte without checking that the builder has the capacity
appendUnchecked(byte[]) - Method in class io.nats.client.support.BuilderBase
Append the entire byte array without checking that the builder has the capacity
appendUnchecked(byte[], int, int) - Method in class io.nats.client.support.BuilderBase
Append the entire byte array without checking that the builder has the capacity
appendUnchecked(byte) - Method in class io.nats.client.support.ByteArrayBuilder
Append a single byte without checking that the builder has the capacity
appendUnchecked(byte[]) - Method in class io.nats.client.support.ByteArrayBuilder
Append the entire byte array without checking that the builder has the capacity
appendUnchecked(byte[], int, int) - Method in class io.nats.client.support.ByteArrayBuilder
Append the entire byte array without checking that the builder has the capacity
appendUnchecked(byte) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append a single byte without checking that the builder has the capacity
appendUnchecked(byte[]) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append the entire byte array without checking that the builder has the capacity
appendUnchecked(byte[], int, int) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Append the entire byte array without checking that the builder has the capacity
array - Variable in class io.nats.client.support.JsonValue
 
arrayBuilder() - Static method in class io.nats.client.support.JsonValueUtils
 
ArrayBuilder() - Constructor for class io.nats.client.support.JsonValueUtils.ArrayBuilder
 
AUTH_REQUIRED - 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.
AVERAGE_PROCESSING_TIME - Static variable in interface io.nats.client.support.ApiConstants
 

B

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
 
BATCH - Static variable in interface io.nats.client.support.ApiConstants
 
batchSize(int) - Method in class io.nats.client.PullRequestOptions.Builder
Set the batch size for the pull
bd - Variable in class io.nats.client.support.JsonValue
 
beginArray() - Static method in class io.nats.client.support.JsonUtils
 
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
 
bi - Variable in class io.nats.client.support.JsonValue
 
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
Deprecated.
This method is no longer used as bind has a different meaning. See PushSubscribeOptions.stream(String) instead.
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
bool - Variable in class io.nats.client.support.JsonValue
 
boolean_pattern(String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
bucket(String) - Method in class io.nats.client.api.ObjectInfo.Builder
 
bucket(String) - Static method in class io.nats.client.api.ObjectLink
 
BUCKET - Static variable in interface io.nats.client.support.ApiConstants
 
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
 
bucketLink(String) - Method in class io.nats.client.api.ObjectInfo.Builder
 
bucketName - Variable in class io.nats.client.api.FeatureConfiguration
 
bufferAllocSize(int, int) - Static method in class io.nats.client.support.BuilderBase
 
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.External.Builder
Build an External object
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.ObjectInfo.Builder
 
build() - Method in class io.nats.client.api.ObjectMeta.Builder
 
build() - Method in class io.nats.client.api.ObjectMetaOptions.Builder
 
build() - Method in class io.nats.client.api.ObjectStoreConfiguration.Builder
Builds the ObjectStoreConfiguration
build() - Method in class io.nats.client.api.Placement.Builder
Build a Placement object
build() - Method in class io.nats.client.api.Republish.Builder
Build a Placement object
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.FeatureOptions.Builder
Builds the Feature 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 KeyValue Options.
build() - Method in class io.nats.client.ObjectStoreOptions.Builder
Builds the ObjectStore 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.PullRequestOptions.Builder
Build the PullRequestOptions.
build() - Method in class io.nats.client.PullSubscribeOptions.Builder
Builds the pull subscribe options.
build() - Method in class io.nats.client.PurgeOptions.Builder
Build the PurgeOptions
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.
build() - Method in class io.nats.service.Endpoint.Builder
 
build() - Method in class io.nats.service.ServiceBuilder
 
build() - Method in class io.nats.service.ServiceEndpoint.Builder
 
buildDataPort() - Method in class io.nats.client.Options
 
builder() - Static method in class io.nats.client.api.ConsumerConfiguration
Creates a builder for the options.
builder(ConsumerConfiguration) - Static method in class io.nats.client.api.ConsumerConfiguration
Creates a builder for the 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.External
Creates a builder for an External object.
Builder() - Constructor for class io.nats.client.api.External.Builder
 
builder() - Static method in class io.nats.client.api.KeyValueConfiguration
Creates a builder for the Key Value Configuration.
builder(String) - 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(String) - Constructor for class io.nats.client.api.KeyValueConfiguration.Builder
Builder accepting the key value bucket name.
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(Mirror) - Static method in class io.nats.client.api.Mirror
 
Builder() - Constructor for class io.nats.client.api.Mirror.Builder
 
Builder(Mirror) - Constructor for class io.nats.client.api.Mirror.Builder
 
builder(String, String) - Static method in class io.nats.client.api.ObjectInfo
 
builder(String, ObjectMeta) - Static method in class io.nats.client.api.ObjectInfo
 
builder(ObjectInfo) - Static method in class io.nats.client.api.ObjectInfo
 
Builder(String, String) - Constructor for class io.nats.client.api.ObjectInfo.Builder
 
Builder(String, ObjectMeta) - Constructor for class io.nats.client.api.ObjectInfo.Builder
 
Builder(ObjectInfo) - Constructor for class io.nats.client.api.ObjectInfo.Builder
 
builder(String) - Static method in class io.nats.client.api.ObjectMeta
 
builder(ObjectMeta) - Static method in class io.nats.client.api.ObjectMeta
 
Builder(String) - Constructor for class io.nats.client.api.ObjectMeta.Builder
 
Builder(ObjectMeta) - Constructor for class io.nats.client.api.ObjectMeta.Builder
 
Builder() - Constructor for class io.nats.client.api.ObjectMetaOptions.Builder
 
Builder(ObjectMetaOptions) - Constructor for class io.nats.client.api.ObjectMetaOptions.Builder
 
builder() - Static method in class io.nats.client.api.ObjectStoreConfiguration
Creates a builder for the Object Store Configuration.
builder(String) - Static method in class io.nats.client.api.ObjectStoreConfiguration
Creates a builder for the Object Store Configuration.
builder(ObjectStoreConfiguration) - Static method in class io.nats.client.api.ObjectStoreConfiguration
Creates a builder to copy the Object Store configuration.
Builder() - Constructor for class io.nats.client.api.ObjectStoreConfiguration.Builder
Default Builder
Builder(String) - Constructor for class io.nats.client.api.ObjectStoreConfiguration.Builder
Builder accepting the object store bucket name.
Builder(ObjectStoreConfiguration) - Constructor for class io.nats.client.api.ObjectStoreConfiguration.Builder
Construct the builder by copying another configuration
builder() - Static method in class io.nats.client.api.Placement
Creates a builder for a placements object.
Builder() - Constructor for class io.nats.client.api.Placement.Builder
 
builder() - Static method in class io.nats.client.api.Republish
Creates a builder for a placements object.
Builder() - Constructor for class io.nats.client.api.Republish.Builder
 
builder() - Static method in class io.nats.client.api.Source
 
builder(Source) - Static method in class io.nats.client.api.Source
 
Builder() - Constructor for class io.nats.client.api.Source.Builder
 
Builder(Source) - 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() - Constructor for class io.nats.client.FeatureOptions.Builder
 
Builder(FeatureOptions) - Constructor for class io.nats.client.FeatureOptions.Builder
 
builder() - Static method in class io.nats.client.JetStreamOptions
Creates a builder for the 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 options.
builder(KeyValueOptions) - Static method in class io.nats.client.KeyValueOptions
Creates a builder to copy the options.
builder(JetStreamOptions) - 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() - Static method in class io.nats.client.ObjectStoreOptions
Creates a builder for the options.
builder(ObjectStoreOptions) - Static method in class io.nats.client.ObjectStoreOptions
Creates a builder to copy the options.
builder(JetStreamOptions) - Static method in class io.nats.client.ObjectStoreOptions
Creates a builder to copy the options.
Builder() - Constructor for class io.nats.client.ObjectStoreOptions.Builder
 
Builder(ObjectStoreOptions) - Constructor for class io.nats.client.ObjectStoreOptions.Builder
 
builder() - Static method in class io.nats.client.Options
Creates a builder for the options in a fluent style
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 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(int) - Static method in class io.nats.client.PullRequestOptions
Creates a builder for the pull options, with batch size since it's always required
Builder() - Constructor for class io.nats.client.PullRequestOptions.Builder
 
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
 
builder() - Static method in class io.nats.service.Endpoint
 
Builder() - Constructor for class io.nats.service.Endpoint.Builder
 
builder() - Static method in class io.nats.service.Service
 
builder() - Static method in class io.nats.service.ServiceEndpoint
 
Builder() - Constructor for class io.nats.service.ServiceEndpoint.Builder
 
BuilderBase - Class in io.nats.client.support
 
BuilderBase(Charset, int) - Constructor for class io.nats.client.support.BuilderBase
 
buildPattern(String, JsonUtils.FieldType) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
buildPattern(String, String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
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(int, int, Charset) - Constructor for class io.nats.client.support.ByteArrayBuilder
Construct the ByteArrayBuilder with the supplied initial size, allocation size and character set
ByteArrayBuilder() - Constructor for class io.nats.client.support.ByteArrayBuilder
Construct the ByteArrayBuilder with the initial size and allocation size of 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 and the character set StandardCharsets.US_ASCII
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(byte[]) - Constructor for class io.nats.client.support.ByteArrayBuilder
Construct the ByteArrayBuilder copying all the bytes using the character set StandardCharsets.US_ASCII and the character set StandardCharsets.US_ASCII Then initializes the buffer with the supplied bytes
ByteArrayBuilder(byte[], int) - Constructor for class io.nats.client.support.ByteArrayBuilder
Construct the ByteArrayBuilder copying the specified number of bytes; and the character set StandardCharsets.US_ASCII Then initializes the buffer with the supplied bytes
ByteArrayPrimitiveBuilder - Class in io.nats.client.support
 
ByteArrayPrimitiveBuilder(int, int, Charset) - Constructor for class io.nats.client.support.ByteArrayPrimitiveBuilder
Construct the ByteArrayPrimitiveBuilder with the supplied initial size, allocation size and character set
ByteArrayPrimitiveBuilder() - Constructor for class io.nats.client.support.ByteArrayPrimitiveBuilder
Construct the ByteArrayPrimitiveBuilder with the initial size and allocation size of and the character set StandardCharsets.US_ASCII
ByteArrayPrimitiveBuilder(int) - Constructor for class io.nats.client.support.ByteArrayPrimitiveBuilder
Construct the ByteArrayPrimitiveBuilder with the supplied initial size, allocation size of and the character set StandardCharsets.US_ASCII
ByteArrayPrimitiveBuilder(Charset) - Constructor for class io.nats.client.support.ByteArrayPrimitiveBuilder
Construct the ByteArrayPrimitiveBuilder with the supplied character set with the default initial size and allocation size determined by that character set
ByteArrayPrimitiveBuilder(int, Charset) - Constructor for class io.nats.client.support.ByteArrayPrimitiveBuilder
Construct the ByteArrayPrimitiveBuilder with the supplied initial size and character set with the allocation size determined by that character set.
ByteArrayPrimitiveBuilder(byte[]) - Constructor for class io.nats.client.support.ByteArrayPrimitiveBuilder
Construct the ByteArrayPrimitiveBuilder copying all the bytes using the character set StandardCharsets.US_ASCII Then initializes the buffer with the supplied bytes
ByteArrayPrimitiveBuilder(byte[], int) - Constructor for class io.nats.client.support.ByteArrayPrimitiveBuilder
Construct the ByteArrayPrimitiveBuilder copying the specified number of bytes; and the character set StandardCharsets.US_ASCII Then initializes the buffer with the supplied bytes
BYTES - Static variable in interface io.nats.client.support.ApiConstants
 
bytesToLong(byte[]) - Static method in class io.nats.client.support.RandomUtils
 

C

cancelClosing() - Method in class io.nats.client.support.NatsRequestCompletableFuture
 
cancelTimedOut() - Method in class io.nats.client.support.NatsRequestCompletableFuture
 
capacity() - Method in class io.nats.client.support.BuilderBase
Get the number of bytes currently allocated (available) without resizing
capacity() - Method in class io.nats.client.support.ByteArrayBuilder
Get the number of bytes currently allocated (available) without resizing
capacity() - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Get the number of bytes currently allocated (available) without resizing
chunks(long) - Method in class io.nats.client.api.ObjectInfo.Builder
 
CHUNKS - Static variable in interface io.nats.client.support.ApiConstants
 
chunkSize(int) - Method in class io.nats.client.api.ObjectInfo.Builder
 
chunkSize(int) - Method in class io.nats.client.api.ObjectMeta.Builder
 
chunkSize(int) - Method in class io.nats.client.api.ObjectMetaOptions.Builder
 
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 its length but not capacity
clear() - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Clear the buffer, resetting its length but not capacity
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.
clearLastError() - Method in interface io.nats.client.Connection
Clear the last error from the server
CLIENT_ID - Static variable in interface io.nats.client.support.ApiConstants
 
CLIENT_IP - 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 the connection and release all blocking calls like flush and nextMessage.
CLOSE - Static variable in class io.nats.client.support.JsonUtils
 
closeDispatcher(Dispatcher) - Method in interface io.nats.client.Connection
Close a dispatcher.
cluster(String) - Method in class io.nats.client.api.Placement.Builder
Set the cluster string.
CLUSTER - 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
 
COLON - Static variable in interface io.nats.client.support.NatsConstants
 
COLON_BYTES - Static variable in interface io.nats.client.support.NatsConstants
 
compareTo(Subject) - Method in class io.nats.client.api.Subject
 
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 to the default URL, Options.DEFAULT_URL, with all of the default options.
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(Connection) - Method in class io.nats.service.ServiceBuilder
 
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
Set the ConnectionListener to receive asynchronous notifications of disconnect events.
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_SEQ - 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.
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(JsonValue) - Constructor for class io.nats.client.api.ConsumerInfo
 
CONSUMERS - Static variable in interface io.nats.client.support.ApiConstants
 
consumerSeq - Variable in class io.nats.client.api.SequencePair
 
convert(Status) - Static method in class io.nats.client.api.Error
 
convertDomainToPrefix(String) - Static method in class io.nats.client.JetStreamOptions
 
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.
copyTo(OutputStream) - Method in class io.nats.client.support.ByteArrayBuilder
Copy the contents of the buffer to the output stream
copyTo(byte[], int) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Copy the contents of the buffer to the byte array starting at the destination positions supplied.
copyTo(OutputStream) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Copy the contents of the buffer to the output stream
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.
create(ObjectStoreConfiguration) - Method in interface io.nats.client.ObjectStoreManagement
Create an object 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
 
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 auth handler 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
 

D

d - Variable in class io.nats.client.support.JsonValue
 
DATA - 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.BuilderBase
 
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_CHUNK_SIZE - Static variable in class io.nats.client.support.NatsObjectStoreUtil
 
DEFAULT_CONNECTION_TIMEOUT - Static variable in class io.nats.client.Options
Default connection timeout, see getConnectionTimeout().
DEFAULT_DATA_PORT_TYPE - Static variable in class io.nats.client.Options
Default dataport class, which will use a TCP socket, getDataPortType().
DEFAULT_DELIVER_POLICY - Static variable in class io.nats.client.api.ConsumerConfiguration
 
DEFAULT_DIGEST_ALGORITHM - Static variable in class io.nats.client.support.Digester
 
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_DISCOVERY_MAX_RESULTS - Static variable in class io.nats.service.Discovery
 
DEFAULT_DISCOVERY_MAX_TIME_MILLIS - Static variable in class io.nats.service.Discovery
 
DEFAULT_DRAIN_TIMEOUT - Static variable in class io.nats.service.ServiceBuilder
 
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 maximum number of reconnect attempts, see getMaxReconnect().
DEFAULT_ORDERED_HEARTBEAT - Static variable in class io.nats.client.SubscribeOptions
 
DEFAULT_OTHER_ALLOCATION - Static variable in class io.nats.client.support.BuilderBase
 
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 wait time before attempting reconnection to the same server, see getReconnectJitter().
DEFAULT_RECONNECT_JITTER_TLS - Static variable in class io.nats.client.Options
Default wait time before attempting reconnection to the same server, see getReconnectJitterTls().
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_SERVICE_PREFIX - Static variable in class io.nats.service.Service
 
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_STRING_ENCODING - Static variable in class io.nats.client.support.Digester
 
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.
defaultCharset - Variable in class io.nats.client.support.BuilderBase
 
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(String) - Method in interface io.nats.client.ObjectStore
Delete the object by name.
delete(String) - Method in interface io.nats.client.ObjectStoreManagement
Deletes an existing object store.
deleteConsumer(String, String) - Method in interface io.nats.client.JetStreamManagement
Deletes a consumer.
deleted(boolean) - Method in class io.nats.client.api.ObjectInfo.Builder
 
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, overwriting the message data with garbage This can be considered an expensive (time consuming) operation, but is more secure.
deleteMessage(String, long, boolean) - Method in interface io.nats.client.JetStreamManagement
Deletes a message, optionally erasing the content of the message.
deleteStream(String) - Method in interface io.nats.client.JetStreamManagement
Deletes an existing stream.
deliver(String) - Method in class io.nats.client.api.External.Builder
Set the deliver string.
DELIVER - Static variable in interface io.nats.client.support.ApiConstants
 
DELIVER_GROUP - Static variable in interface io.nats.client.support.ApiConstants
 
DELIVER_POLICY - Static variable in interface io.nats.client.support.ApiConstants
 
DELIVER_SUBJECT - 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_PURGE - 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.ObjectInfo.Builder
 
description(String) - Method in class io.nats.client.api.ObjectMeta.Builder
 
description(String) - Method in class io.nats.client.api.ObjectStoreConfiguration.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(String) - Method in class io.nats.service.ServiceBuilder
 
DEST - Static variable in interface io.nats.client.support.ApiConstants
 
destination(String) - Method in class io.nats.client.api.Republish.Builder
Set the RePublish Subject template
digest(String) - Method in class io.nats.client.api.ObjectInfo.Builder
 
DIGEST - Static variable in interface io.nats.client.support.ApiConstants
 
Digester - Class in io.nats.client.support
This is a utility class for making digesting data.
Digester() - Constructor for class io.nats.client.support.Digester
 
Digester(Base64.Encoder) - Constructor for class io.nats.client.support.Digester
 
Digester(String) - Constructor for class io.nats.client.support.Digester
 
Digester(String, Charset, Base64.Encoder) - Constructor for class io.nats.client.support.Digester
 
DISCARD - Static variable in interface io.nats.client.support.ApiConstants
 
DISCARD_NEW_PER_SUBJECT - 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.
discardNewPerSubject(boolean) - Method in class io.nats.client.api.StreamConfiguration.Builder
Set whether discard policy new with max message per subject applies to existing subjects, not just new subjects.
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.
Discovery - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
Discovery(Connection) - Constructor for class io.nats.service.Discovery
 
Discovery(Connection, long, int) - Constructor for class io.nats.service.Discovery
 
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.
dispatcher(Dispatcher) - Method in class io.nats.service.ServiceEndpoint.Builder
 
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
 
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.
drainTimeout(Duration) - Method in class io.nats.service.ServiceBuilder
 
DUPLICATE - Static variable in interface io.nats.client.support.ApiConstants
 
DUPLICATE_WINDOW - 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 StreamConfiguration.
duplicateWindow(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the duplicate checking window in the StreamConfiguration.
durable(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Sets the name of the durable consumer.
durable - Variable in class io.nats.client.api.ConsumerConfiguration
 
durable(String) - Method in class io.nats.client.SubscribeOptions.Builder
Sets the durable name for the consumer.
DURABLE_NAME - Static variable in interface io.nats.client.support.ApiConstants
 
DURATION_MIN - Static variable in class io.nats.client.api.ConsumerConfiguration
Deprecated.
DURATION_MIN_LONG - Static variable in class io.nats.client.api.ConsumerConfiguration
 
DURATION_UNSET - Static variable in class io.nats.client.api.ConsumerConfiguration
 
DURATION_UNSET_LONG - Static variable in class io.nats.client.api.ConsumerConfiguration
 

E

EMPTY - Static variable in interface io.nats.client.support.NatsConstants
 
EMPTY_ARRAY - Static variable in class io.nats.client.support.JsonValue
 
EMPTY_BODY - Static variable in interface io.nats.client.support.NatsConstants
 
EMPTY_JSON - Static variable in class io.nats.client.support.JsonUtils
 
EMPTY_MAP - Static variable in class io.nats.client.support.JsonValue
 
emptyAsNull(String) - Static method in class io.nats.client.support.Validator
 
emptyOrNullAs(String, String) - Static method in class io.nats.client.support.Validator
 
encodeForSubject(String) - Static method in class io.nats.client.support.NatsObjectStoreUtil
 
Encoding - Class in io.nats.client.support
 
endArray(StringBuilder) - Static method in class io.nats.client.support.JsonUtils
 
endFormattedJson(StringBuilder) - Static method in class io.nats.client.support.JsonUtils
 
endJson(StringBuilder) - Static method in class io.nats.client.support.JsonUtils
 
endOfData() - Method in interface io.nats.client.api.Watcher
Called once if there is no data when the watch is created or if there is data, the first time the watch exhausts all existing data.
Endpoint - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
Endpoint(String, String, Schema) - Constructor for class io.nats.service.Endpoint
 
Endpoint(String) - Constructor for class io.nats.service.Endpoint
 
Endpoint(String, String) - Constructor for class io.nats.service.Endpoint
 
Endpoint(String, String, String, String) - Constructor for class io.nats.service.Endpoint
 
endpoint(Endpoint) - Method in class io.nats.service.Endpoint.Builder
 
endpoint(Endpoint) - Method in class io.nats.service.ServiceEndpoint.Builder
 
Endpoint.Builder - Class in io.nats.service
 
endpointName(String) - Method in class io.nats.service.ServiceEndpoint.Builder
 
EndpointResponse - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
ENDPOINTS - Static variable in interface io.nats.client.support.ApiConstants
 
endpointSchemaRequest(String) - Method in class io.nats.service.ServiceEndpoint.Builder
 
endpointSchemaResponse(String) - Method in class io.nats.service.ServiceEndpoint.Builder
 
endpointSubject(String) - Method in class io.nats.service.ServiceEndpoint.Builder
 
ensureCapacity(int) - Method in class io.nats.client.support.ByteArrayBuilder
Ensures that the buffer can accept the number of bytes needed Useful if the size of multiple append operations is known ahead of time
ensureCapacity(int) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Ensures that the buffer can accept the number of bytes needed by resizing if necessary.
ensureDurationNotLessThanMin(long, Duration, Duration) - Static method in class io.nats.client.support.Validator
 
ensureEndsWithDot(String) - Static method in class io.nats.client.support.Validator
 
ensureNotNullAndNotLessThanMin(Duration, Duration, Duration) - Static method in class io.nats.client.support.Validator
 
equals(Object) - Method in class io.nats.client.api.External
 
equals(Object) - Method in class io.nats.client.api.KeyValueEntry
 
equals(Object) - Method in class io.nats.client.api.ObjectInfo
 
equals(Object) - Method in class io.nats.client.api.ObjectLink
 
equals(Object) - Method in class io.nats.client.api.ObjectMeta
 
equals(Object) - Method in class io.nats.client.api.ObjectMetaOptions
 
equals(Object) - Method in class io.nats.client.NKey
 
equals(byte[]) - Method in class io.nats.client.support.BuilderBase
Determine if a byte array contains the same bytes as this builder
equals(byte[]) - Method in class io.nats.client.support.ByteArrayBuilder
Determine if a byte array contains the same bytes as this builder
equals(byte[]) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Determine if a byte array contains the same bytes as this builder
equals(ZonedDateTime, ZonedDateTime) - Static method in class io.nats.client.support.DateTimeUtils
 
equals(Object) - Method in class io.nats.client.support.JsonValue
 
equals(Object) - Method in class io.nats.client.support.NatsKeyValueUtil.BucketAndKey
 
equals(Object) - Method in class io.nats.service.Endpoint
 
equals(Object) - Method in class io.nats.service.EndpointResponse
 
equals(Object) - Method in class io.nats.service.Group
 
equals(Object) - Method in class io.nats.service.InfoResponse
 
equals(Object) - Method in class io.nats.service.Schema
 
equals(Object) - Method in class io.nats.service.SchemaResponse
 
equals(Object) - Method in class io.nats.service.ServiceResponse
 
equals(Object) - Method in class io.nats.service.StatsResponse
 
ERR_CODE - Static variable in interface io.nats.client.support.ApiConstants
 
Error - Class in io.nats.client.api
Error returned from an api request.
ERROR - Static variable in interface io.nats.client.support.ApiConstants
 
ErrorListener - Interface in io.nats.client
This library groups problems into four categories: Errors The server sent an error message using the -err protocol operation. Exceptions A Java exception occurred, and was handled by the library. Slow Consumers One of the connections consumers, Subscription or Dispatcher, is slow, and starting to drop messages. Fast Producers One of the connections producers is too fast, and is discarding messages
errorListener(ErrorListener) - Method in class io.nats.client.Options.Builder
Set the ErrorListener to receive asynchronous error events related to this connection.
ErrorListener.FlowControlSource - Enum in io.nats.client
 
errorOccurred(Connection, String) - Method in interface io.nats.client.ErrorListener
NATs related errors that occur asynchronously in the client library are sent to an ErrorListener via errorOccurred.
ERRORS - Static variable in interface io.nats.client.support.ApiConstants
 
exceptionOccurred(Connection, Exception) - Method in interface io.nats.client.ErrorListener
Exceptions that occur in the "normal" course of operations are sent to the ErrorListener using exceptionOccurred.
executor(ExecutorService) - Method in class io.nats.client.Options.Builder
Set the ExecutorService used to run threaded tasks.
EXPECTED_LAST_MSG_ID_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
EXPECTED_LAST_SEQ_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
EXPECTED_LAST_SUB_SEQ_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
EXPECTED_STREAM_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
expectedLastMsgId(String) - Method in class io.nats.client.PublishOptions.Builder
Sets the expected last ID of the previously published message.
expectedLastSequence(long) - Method in class io.nats.client.PublishOptions.Builder
Sets the expected message sequence of the publish
expectedLastSubjectSequence(long) - Method in class io.nats.client.PublishOptions.Builder
Sets the expected subject message sequence of the publish
expectedStream(String) - Method in class io.nats.client.PublishOptions.Builder
Sets the expected stream for the publish.
EXPIRES - Static variable in interface io.nats.client.support.ApiConstants
 
expiresIn(long) - Method in class io.nats.client.PullRequestOptions.Builder
Set the expires time in millis
expiresIn(Duration) - Method in class io.nats.client.PullRequestOptions.Builder
Set the expires duration
External - Class in io.nats.client.api
External configuration referencing a stream source in another account
External(String, String) - Constructor for class io.nats.client.api.External
Construct the External configuration
EXTERNAL - Static variable in interface io.nats.client.support.ApiConstants
 
External.Builder - Class in io.nats.client.api
Placement can be created using a Builder.
extractBucketName(String) - Static method in class io.nats.client.support.NatsKeyValueUtil
 
extractBucketName(String) - Static method in class io.nats.client.support.NatsObjectStoreUtil
 

F

f - Variable in class io.nats.client.support.JsonValue
 
FALSE - Static variable in class io.nats.client.support.JsonValue
 
FeatureConfiguration - Class in io.nats.client.api
 
FeatureConfiguration(StreamConfiguration, String) - Constructor for class io.nats.client.api.FeatureConfiguration
 
FeatureOptions - Class in io.nats.client
The FeatureOptions is a base class of general options for features.
FeatureOptions(FeatureOptions.Builder) - Constructor for class io.nats.client.FeatureOptions
 
FeatureOptions.Builder<B,FO> - Class in io.nats.client
KeyValueOptions can be created using a Builder.
fetch(int, Duration) - Method in interface io.nats.client.JetStreamSubscription
Fetch a list of messages up to the batch size, waiting no longer than maxWait.
fetch(int, long) - Method in interface io.nats.client.JetStreamSubscription
Fetch a list of messages up to the batch size, waiting no longer than maxWait.
FILTER - Static variable in interface io.nats.client.support.ApiConstants
 
FILTER_SUBJECT - Static variable in interface io.nats.client.support.ApiConstants
 
filterSubject(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Sets the filter subject of the ConsumerConfiguration.
filterSubject - Variable in class io.nats.client.api.ConsumerConfiguration
 
filterSubjects(String) - Method in class io.nats.client.api.StreamInfoOptions.Builder
Set the subjects filter, which turns on getting subject info.
filterSubjects(String) - Static method in class io.nats.client.api.StreamInfoOptions
Create options that get subject information, filtering for subjects.
FIRST_SEQ - Static variable in interface io.nats.client.support.ApiConstants
 
FIRST_TS - Static variable in interface io.nats.client.support.ApiConstants
 
FLOW_CONTROL - Static variable in interface io.nats.client.support.ApiConstants
 
FLOW_CONTROL_TEXT - Static variable in class io.nats.client.support.Status
 
FLOW_OR_HEARTBEAT_STATUS_CODE - Static variable in class io.nats.client.support.Status
 
flowControl(Duration) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
set the flow control on and set the idle heartbeat
flowControl(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
set the flow control on and set the idle heartbeat
flowControl - Variable in class io.nats.client.api.ConsumerConfiguration
 
flowControlProcessed(Connection, JetStreamSubscription, String, ErrorListener.FlowControlSource) - Method in interface io.nats.client.ErrorListener
Called by the connection when a flow control is processed.
flowControlWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
Gets whether flow control for this consumer configuration was set or left unset
flush(Duration) - Method in interface io.nats.client.Connection
Flush the connection's buffer of outgoing messages, including sending a protocol message to and from the server.
flushBuffer() - Method in interface io.nats.client.Connection
Immediately flushes the underlying connection buffer if the connection is valid.
fromNow(long) - Static method in class io.nats.client.support.DateTimeUtils
 
fromNow(Duration) - Static method in class io.nats.client.support.DateTimeUtils
 
fromPrefix(int) - Static method in enum io.nats.client.NKey.Type
 
fromPublicKey(char[]) - Static method in class io.nats.client.NKey
Create an NKey object from the encoded public key.
fromSeed(char[]) - Static method in class io.nats.client.NKey
Creates an NKey object from a string encoded seed.

G

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 when the key exists and is live (not deleted and not purged)
get(String, long) - Method in interface io.nats.client.KeyValue
Get the specific revision of an entry for a key when the key exists and is live (not deleted and not purged)
get(String, OutputStream) - Method in interface io.nats.client.ObjectStore
Get an object by name from the store, reading it into the output stream, if the object exists.
get(JsonValue) - Method in interface io.nats.client.support.JsonValueUtils.JsonValueSupplier
 
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
Time since this peer was last seen
getAllocationSize() - Method in class io.nats.client.support.BuilderBase
Get the current allocation size
getAllowDirect() - Method in class io.nats.client.api.StreamConfiguration
Get the flag indicating if the stream allows direct message access.
getAllowRollup() - Method in class io.nats.client.api.StreamConfiguration
Get the flag indicating if the stream allows rollup.
getApi() - Method in class io.nats.client.api.AccountStatistics
Gets the account api stats
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
getApiUrl() - Method in class io.nats.service.SchemaResponse
 
getApiUrl() - Method in class io.nats.service.Service
 
getAuthHandler() - Method in class io.nats.client.Options
 
getAverageProcessingTime() - Method in class io.nats.service.EndpointResponse
 
getBackingConfig() - Method in class io.nats.client.api.FeatureConfiguration
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"
getBackingStore() - Method in class io.nats.client.api.ObjectStoreStatus
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.
getBackingStreamInfo() - Method in class io.nats.client.api.ObjectStoreStatus
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.
getBatchSize() - Method in class io.nats.client.PullRequestOptions
Get the batch size option value
getBucket() - Method in class io.nats.client.api.KeyValueEntry
 
getBucket() - Method in class io.nats.client.api.ObjectInfo
 
getBucket() - Method in class io.nats.client.api.ObjectLink
 
getBucketInfo(String) - Method in interface io.nats.client.KeyValueManagement
Deprecated.
getBucketName() - Method in class io.nats.client.api.FeatureConfiguration
Gets the name of this bucket.
getBucketName() - Method in class io.nats.client.api.KeyValueStatus
Get the name of the bucket
getBucketName() - Method in class io.nats.client.api.ObjectStoreStatus
Get the name of the object store
getBucketName() - Method in interface io.nats.client.KeyValue
Get the name of the bucket.
getBucketName() - Method in interface io.nats.client.ObjectStore
Get the name of the object store's bucket.
getBucketNames() - Method in interface io.nats.client.KeyValueManagement
Get the list of bucket names.
getBucketNames() - Method in interface io.nats.client.ObjectStoreManagement
Get the list of object stores bucket names THIS IS A BETA FEATURE AND SUBJECT TO CHANGE
getBufferSize() - Method in class io.nats.client.Options
 
getByteCount() - Method in class io.nats.client.api.KeyValueStatus
Get the size of the bucket in bytes
getByteCount() - Method in class io.nats.client.api.StreamState
Gets the byte count of the stream.
getBytes() - Method in class io.nats.client.api.LostStreamData
Get the number of bytes that were lost
getCalculatedPending() - Method in class io.nats.client.api.ConsumerInfo
 
getChunks() - Method in class io.nats.client.api.ObjectInfo
 
getChunkSize() - Method in class io.nats.client.api.ObjectMetaOptions
 
getClientId() - Method in class io.nats.client.api.ServerInfo
 
getClientInetAddress() - Method in interface io.nats.client.Connection
 
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.ObjectStoreStatus
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
 
getConnection() - Method in class io.nats.service.ServiceMessage
 
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() - Method in class io.nats.client.api.AccountTier
Number of active consumers in this tier.
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
 
getData() - Method in class io.nats.service.EndpointResponse
 
getData() - Method in class io.nats.service.ServiceMessage
 
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
getDeleteHeaders() - Static method in class io.nats.client.support.NatsKeyValueUtil
 
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 if deny delete is set for the stream
getDenyPurge() - Method in class io.nats.client.api.StreamConfiguration
Get the flag indicating if 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.FeatureConfiguration
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.ObjectInfo
 
getDescription() - Method in class io.nats.client.api.ObjectMeta
 
getDescription() - Method in class io.nats.client.api.ObjectStoreStatus
Gets the description of this bucket.
getDescription() - Method in class io.nats.client.api.StreamConfiguration
Gets the description of this stream configuration.
getDescription() - Method in class io.nats.service.InfoResponse
Description for the service
getDescription() - Method in class io.nats.service.Service
 
getDestination() - Method in class io.nats.client.api.Republish
Get destination, the RePublish Subject template
getDigest() - Method in class io.nats.client.api.ObjectInfo
 
getDigestEntry() - Method in class io.nats.client.support.Digester
 
getDigestValue() - Method in class io.nats.client.support.Digester
 
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
 
getDispatcher() - Method in class io.nats.service.ServiceEndpoint
 
getDomain() - Method in class io.nats.client.api.AccountStatistics
Gets the account domain
getDomain() - Method in class io.nats.client.api.PublishAck
Gets the domain of a stream
getDrainTimeout() - Method in class io.nats.service.Service
 
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 name 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
Deprecated.
getEndpoint() - Method in class io.nats.service.ServiceEndpoint
 
getEndpoints() - Method in class io.nats.service.SchemaResponse
 
getEndpointStats(String) - Method in class io.nats.service.Service
 
getEndpointStats() - Method in class io.nats.service.StatsResponse
 
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
 
getErrorObject() - Method in class io.nats.client.api.ApiResponse
 
getErrors() - Method in class io.nats.client.api.ApiStats
API requests that resulted in an error response
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.
getExpiresIn() - Method in class io.nats.client.PullRequestOptions
Get the expires in option value
getFilterSubject() - Method in class io.nats.client.api.ConsumerConfiguration
Gets the max filter subject of this consumer configuration.
getFirstMessage(String, String) - Method in interface io.nats.client.JetStreamManagement
Get MessageInfo for the first message of the subject.
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
This isn't perfect but good enough for debugging
getGoVersion() - Method in class io.nats.client.api.ServerInfo
 
getGroup() - Method in class io.nats.service.ServiceEndpoint
 
getHandler() - Method in class io.nats.service.ServiceEndpoint
 
getHeaders() - Method in class io.nats.client.api.MessageInfo
Get the headers
getHeaders() - Method in class io.nats.client.api.ObjectInfo
 
getHeaders() - Method in class io.nats.client.api.ObjectMeta
 
getHeaders() - Method in interface io.nats.client.Message
 
getHeaders() - Method in class io.nats.client.support.IncomingHeadersProcessor
 
getHeaders() - Method in class io.nats.service.ServiceMessage
 
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.
getId() - Method in class io.nats.service.Service
 
getId() - Method in class io.nats.service.ServiceResponse
The unique ID of the service reporting the status
getIdleHeartbeat() - Method in class io.nats.client.api.ConsumerConfiguration
Gets the idle heart beat wait time
getIdleHeartbeat() - Method in class io.nats.client.PullRequestOptions
Get the idle heartbeat option value
getInactiveThreshold() - Method in class io.nats.client.api.ConsumerConfiguration
Get the amount of time before the consumer is deemed inactive.
getInboxPrefix() - Method in class io.nats.client.Options
 
getInBytes() - Method in interface io.nats.client.Statistics
 
getInfo(String) - Method in interface io.nats.client.ObjectStore
Get the info for an object if the object exists / is not deleted.
getInfo(String, boolean) - Method in interface io.nats.client.ObjectStore
Get the info for an object if the object exists, optionally including deleted.
getInfoResponse() - Method in class io.nats.service.Service
 
getInMsgs() - Method in interface io.nats.client.Statistics
 
getInteger(JsonValue) - Static method in class io.nats.client.support.JsonValueUtils
 
getJetStreamOptions() - Method in class io.nats.client.FeatureOptions
Gets the JetStream options
getJsonObject(String, String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
getJsonObject(String, String, String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
getJsonValue() - Method in class io.nats.client.support.JsonValueUtils.ArrayBuilder
 
getJsonValue() - Method in class io.nats.client.support.JsonValueUtils.MapBuilder
 
getJv() - Method in class io.nats.client.api.ApiResponse
 
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
 
getKind() - Method in class io.nats.client.support.NatsJetStreamClientError
 
getLag() - Method in class io.nats.client.api.PeerInfo
How many uncommitted operations this peer is behind the leader
getLastActive() - Method in class io.nats.client.api.SequenceInfo
The last time a message was delivered or acknowledged (for ack_floor)
getLastError() - Method in interface io.nats.client.Connection
 
getLastError() - Method in class io.nats.service.EndpointResponse
 
getLastMessage(String, String) - Method in interface io.nats.client.JetStreamManagement
Get MessageInfo for the last message of the subject.
getLastSeq() - Method in class io.nats.client.api.MessageInfo
Get the sequence number of the last message in the stream.
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
 
getLimits() - Method in class io.nats.client.api.AccountStatistics
Gets the Account Limits object.
getLimits() - Method in class io.nats.client.api.AccountTier
The limits of this tier.
getLink() - Method in class io.nats.client.api.ObjectInfo
 
getLink() - Method in class io.nats.client.api.ObjectMetaOptions
 
getList() - Method in interface io.nats.client.ObjectStore
Get a list of all object [infos] in the store.
getLong(JsonValue) - Static method in class io.nats.client.support.JsonValueUtils
 
getLong(JsonValue, long) - Static method in class io.nats.client.support.JsonValueUtils
 
getLongList(String, String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
Prefer using the JsonParser
getLostStreamData() - Method in class io.nats.client.api.StreamState
Get the lost stream data information if available.
getMapOfLists(String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
getMapOfLongs(String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
getMapOfObjects(String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
getMaxAckPending() - Method in class io.nats.client.api.AccountLimits
The maximum number of outstanding ACKs any consumer may configure.
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.
getMaxBucketSize() - Method in class io.nats.client.api.ObjectStoreConfiguration
Gets the maximum number of bytes for this bucket.
getMaxBytes() - Method in class io.nats.client.api.ConsumerConfiguration
Get the max bytes size for the server to allow on pull requests.
getMaxBytes() - Method in class io.nats.client.api.StreamConfiguration
Gets the maximum number of bytes for this stream configuration.
getMaxBytes() - Method in class io.nats.client.PullRequestOptions
Get the max bytes size option value
getMaxConsumers() - Method in class io.nats.client.api.AccountLimits
The maximum number of Consumers an account can create.
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
The maximum amount of Memory storage Stream Messages may consume.
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
The maximum amount of File storage Stream Messages may consume.
getMaxStreams() - Method in class io.nats.client.api.AccountLimits
The maximum number of Streams an account can create.
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 storage used by the JetStream deployment.
getMemory() - Method in class io.nats.client.api.AccountTier
Memory Storage being used for Stream Message storage in this tier.
getMemoryMaxStreamBytes() - Method in class io.nats.client.api.AccountLimits
The maximum size any single memory stream may be.
getMessage(String, long) - Method in interface io.nats.client.JetStreamManagement
Get MessageInfo for the message with the exact sequence in the stream.
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
getMessages() - Method in class io.nats.client.api.LostStreamData
Get the lost message ids
getMetaHeaders() - Static method in class io.nats.client.support.NatsObjectStoreUtil
 
getMirror() - Method in class io.nats.client.api.StreamConfiguration
The mirror definition for this stream
getMirrorDirect() - Method in class io.nats.client.api.StreamConfiguration
Get the flag indicating if the stream allows higher performance and unified direct access for mirrors as well.
getMirrorInfo() - Method in class io.nats.client.api.StreamInfo
 
getModified() - Method in class io.nats.client.api.ObjectInfo
 
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.ConsumerConfiguration
Gets the name of the consumer name for this consumer configuration.
getName() - Method in class io.nats.client.api.ConsumerInfo
 
getName() - Method in class io.nats.client.api.PeerInfo
The server name of the peer
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
getName() - Method in class io.nats.service.Endpoint
 
getName() - Method in class io.nats.service.EndpointResponse
 
getName() - Method in class io.nats.service.Group
 
getName() - Method in class io.nats.service.Service
 
getName() - Method in class io.nats.service.ServiceEndpoint
 
getName() - Method in class io.nats.service.ServiceResponse
The kind of the service reporting the status
getNext() - Method in class io.nats.service.Group
 
getNextMessage(String, long, String) - Method in interface io.nats.client.JetStreamManagement
Get MessageInfo for the message of the message sequence is equal to or greater the requested sequence for the subject.
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
 
getNuid() - Method in class io.nats.client.api.ObjectInfo
 
getNumAckPending() - Method in class io.nats.client.api.ConsumerInfo
 
getNumErrors() - Method in class io.nats.service.EndpointResponse
 
getNumPending() - Method in class io.nats.client.api.ConsumerInfo
 
getNumReplicas() - Method in class io.nats.client.api.ConsumerConfiguration
Get the number of consumer replicas.
getNumRequests() - Method in class io.nats.service.EndpointResponse
 
getNumWaiting() - Method in class io.nats.client.api.ConsumerInfo
 
getObjectList(String, String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
getObjectMeta() - Method in class io.nats.client.api.ObjectInfo
 
getObjectMetaOptions() - Method in class io.nats.client.api.ObjectMeta
 
getObjectName() - Method in class io.nats.client.api.ObjectInfo
 
getObjectName() - Method in class io.nats.client.api.ObjectLink
 
getObjectName() - Method in class io.nats.client.api.ObjectMeta
 
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(DeliverPolicy) - Static method in class io.nats.client.api.ConsumerConfiguration
 
GetOrDefault(AckPolicy) - Static method in class io.nats.client.api.ConsumerConfiguration
 
GetOrDefault(ReplayPolicy) - Static method in class io.nats.client.api.ConsumerConfiguration
 
getOrDefault(String, KeyValueOperation) - Static method in enum io.nats.client.api.KeyValueOperation
 
getOrUnset(Integer) - Static method in class io.nats.client.api.ConsumerConfiguration
 
getOrUnset(Long) - Static method in class io.nats.client.api.ConsumerConfiguration
 
getOrUnset(Duration) - Static method in class io.nats.client.api.ConsumerConfiguration
 
getOrUnsetUlong(Long) - Static method in class io.nats.client.api.ConsumerConfiguration
 
getOutBytes() - Method in interface io.nats.client.Statistics
 
getOutMsgs() - Method in interface io.nats.client.Statistics
 
getPassword() - Method in class io.nats.client.Options
Deprecated.
converts the char array to a string, use getPasswordChars instead for more security
getPasswordChars() - Method in class io.nats.client.Options
 
getPendingByteCount() - Method in interface io.nats.client.Consumer
 
getPendingByteLimit() - Method in interface io.nats.client.Consumer
 
getPendingByteLimit() - Method in class io.nats.client.SubscribeOptions
Gets the pending byte limit.
getPendingMessageCount() - Method in interface io.nats.client.Consumer
 
getPendingMessageLimit() - Method in interface io.nats.client.Consumer
 
getPendingMessageLimit() - Method in class io.nats.client.SubscribeOptions
Gets the pending message limit.
getPingInterval() - Method in class io.nats.client.Options
 
getPingResponse() - Method in class io.nats.service.Service
 
getPlacement() - Method in class io.nats.client.api.FeatureConfiguration
Placement directives to consider when placing replicas of this stream, random placement when unset
getPlacement() - Method in class io.nats.client.api.KeyValueStatus
Gets the placement directive for the store.
getPlacement() - Method in class io.nats.client.api.ObjectStoreStatus
Gets the placement directive for the store.
getPlacement() - Method in class io.nats.client.api.StreamConfiguration
Get the 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
 
getProcessingTime() - Method in class io.nats.service.EndpointResponse
 
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
Deprecated.
This method is replaced since the purged value is a long value, not an int value See PurgeResponse.getPurged() instead.
getPurgeHeaders() - Static method in class io.nats.client.support.NatsKeyValueUtil
 
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.FeatureConfiguration
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.ObjectStoreStatus
Gets the number of replicas for this store.
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
 
getReplyTo() - Method in class io.nats.service.ServiceMessage
 
getRepublish() - Method in class io.nats.client.api.KeyValueConfiguration
Get the republish configuration.
getRepublish() - Method in class io.nats.client.api.KeyValueStatus
Gets the republish configuration
getRepublish() - Method in class io.nats.client.api.StreamConfiguration
Get the republish configuration.
getRequest() - Method in class io.nats.service.Schema
A string or url
getRequestCleanupInterval() - Method in class io.nats.client.Options
 
getRequestTimeout() - Method in class io.nats.client.JetStreamOptions
Gets the request timeout the stream.
getResponse() - Method in class io.nats.service.Schema
A string or url
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.
getSchema() - Method in class io.nats.service.Endpoint
 
getSchema() - Method in class io.nats.service.EndpointResponse
 
getSchemaResponse() - Method in class io.nats.service.Service
 
getSealed() - Method in class io.nats.client.api.StreamConfiguration
Get the flag indicating if 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.api.MessageDeleteRequest
 
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
 
getServerList(String, List<String>, List<String>) - Method in interface io.nats.client.ServerListProvider
Get the ordered server list to try for connecting/reconnecting
getServerListProvider() - Method in class io.nats.client.Options
Get a provided ServerListProvider.
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
 
getSID() - Method in class io.nats.service.ServiceMessage
 
getSize() - Method in class io.nats.client.api.ObjectInfo
 
getSize() - Method in class io.nats.client.api.ObjectStoreStatus
Get the combined size of all data in the bucket including metadata, in bytes
getSource() - Method in class io.nats.client.api.Republish
Get source, the Published Subject-matching filter
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
 
getStarted() - Method in class io.nats.service.EndpointResponse
 
getStarted() - Method in class io.nats.service.StatsResponse
 
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
 
getStatsDataSupplier() - Method in class io.nats.service.ServiceEndpoint
 
getStatsResponse() - Method in class io.nats.service.Service
 
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(String) - Method in interface io.nats.client.KeyValueManagement
Gets the status for an existing bucket.
getStatus() - Method in interface io.nats.client.Message
 
getStatus() - Method in interface io.nats.client.ObjectStore
Get the ObjectStoreStatus object.
getStatus(String) - Method in interface io.nats.client.ObjectStoreManagement
Gets the status for an existing object store bucket.
getStatus() - Method in class io.nats.client.support.IncomingHeadersProcessor
 
getStatus() - Method in class io.nats.service.ServiceMessage
 
getStatuses() - Method in interface io.nats.client.KeyValueManagement
Get the statuses for all buckets
getStatuses() - Method in interface io.nats.client.ObjectStoreManagement
Gets the status for all object store buckets.
getStorage() - Method in class io.nats.client.api.AccountStatistics
Gets the amount of file storage used by the JetStream deployment.
getStorage() - Method in class io.nats.client.api.AccountTier
File Storage being used for Stream Message storage in this tier.
getStorageMaxStreamBytes() - Method in class io.nats.client.api.AccountLimits
The maximum size any single storage based stream may be.
getStorageType() - Method in class io.nats.client.api.FeatureConfiguration
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.ObjectStoreStatus
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.MessageInfo
Get the name of the stream.
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
Get the names of all streams.
getStreamNames(String) - Method in interface io.nats.client.JetStreamManagement
Get a list of stream names that have subjects matching the subject filter.
getStreams() - Method in class io.nats.client.api.AccountStatistics
Gets the number of streams used by the JetStream deployment.
getStreams() - Method in class io.nats.client.api.AccountTier
Number of active streams in this tier.
getStreams() - Method in interface io.nats.client.JetStreamManagement
Return a list of StreamInfo objects.
getStreams(String) - Method in interface io.nats.client.JetStreamManagement
Return a list of StreamInfo objects that have subjects matching the filter.
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
Deprecated.
Prefer using the JsonParser
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
 
getSubject() - Method in class io.nats.service.Endpoint
 
getSubject() - Method in class io.nats.service.EndpointResponse
 
getSubject() - Method in class io.nats.service.Group
 
getSubject() - Method in class io.nats.service.ServiceEndpoint
 
getSubject() - Method in class io.nats.service.ServiceMessage
 
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.
getSubjects() - Method in class io.nats.service.InfoResponse
Subjects that can be invoked
getSubjectsFilter() - Method in class io.nats.client.api.StreamInfoOptions
 
getSubscription() - Method in exception io.nats.client.JetStreamStatusException
Get the subscription this issue occurred on
getSubscription() - Method in interface io.nats.client.Message
 
getSubscription() - Method in class io.nats.service.ServiceMessage
 
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.FeatureOptions.Builder
 
getThis() - Method in class io.nats.client.KeyValueOptions.Builder
 
getThis() - Method in class io.nats.client.ObjectStoreOptions.Builder
 
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
 
getTiers() - Method in class io.nats.client.api.AccountStatistics
Gets the map of the Account Tiers by tier name
getTime() - Method in class io.nats.client.api.MessageInfo
Get the time the message was received
getToken() - Method in class io.nats.client.Options
Deprecated.
converts the char array to a string, use getTokenChars instead for more security
getTokenChars() - Method in class io.nats.client.Options
 
getTotal() - Method in class io.nats.client.api.ApiStats
Total number of API requests received for this account
getTtl() - Method in class io.nats.client.api.FeatureConfiguration
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.
getTtl() - Method in class io.nats.client.api.ObjectStoreStatus
Gets the maximum age for a value in this store.
getType() - Method in class io.nats.client.api.ApiResponse
 
getType() - Method in class io.nats.client.NKey
 
getType() - Method in class io.nats.service.ServiceResponse
The type of this response;
getUnprocessedServers() - Method in class io.nats.client.Options
 
getUsername() - Method in class io.nats.client.Options
Deprecated.
converts the char array to a string, use getUserNameChars instead for more security
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
 
getVersion() - Method in class io.nats.service.Service
 
getVersion() - Method in class io.nats.service.ServiceResponse
Version of the service
getWaitTime(long) - Method in interface io.nats.client.ReconnectDelayHandler
Get the duration of time to wait before trying to reconnect against the server list
gmtNow() - Static method in class io.nats.client.support.DateTimeUtils
 
GO - Static variable in interface io.nats.client.support.ApiConstants
 
Group - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
Group(String) - Constructor for class io.nats.service.Group
 
group(Group) - Method in class io.nats.service.ServiceEndpoint.Builder
 

H

handler(ServiceMessageHandler) - Method in class io.nats.service.ServiceEndpoint.Builder
 
hasError() - Method in class io.nats.client.api.ApiResponse
 
hasExceededTimeout() - Method in class io.nats.client.support.NatsRequestCompletableFuture
 
hashCode() - Method in class io.nats.client.api.External
 
hashCode() - Method in class io.nats.client.api.KeyValueEntry
 
hashCode() - Method in class io.nats.client.api.ObjectInfo
 
hashCode() - Method in class io.nats.client.api.ObjectLink
 
hashCode() - Method in class io.nats.client.api.ObjectMeta
 
hashCode() - Method in class io.nats.client.api.ObjectMetaOptions
 
hashCode() - Method in class io.nats.client.NKey
 
hashCode() - Method in class io.nats.client.support.JsonValue
 
hashCode() - Method in class io.nats.client.support.NatsKeyValueUtil.BucketAndKey
 
hashCode() - Method in class io.nats.service.Endpoint
 
hashCode() - Method in class io.nats.service.EndpointResponse
 
hashCode() - Method in class io.nats.service.Group
 
hashCode() - Method in class io.nats.service.InfoResponse
 
hashCode() - Method in class io.nats.service.Schema
 
hashCode() - Method in class io.nats.service.SchemaResponse
 
hashCode() - Method in class io.nats.service.ServiceResponse
 
hashCode() - Method in class io.nats.service.StatsResponse
 
hasHeaders() - Method in interface io.nats.client.Message
 
hasHeaders() - Method in class io.nats.service.ServiceMessage
 
hasPrefix(String) - Static method in class io.nats.client.support.NatsKeyValueUtil
 
hasValue() - Method in class io.nats.client.support.Token
 
HDRS - Static variable in interface io.nats.client.support.ApiConstants
 
HEADER_VERSION - Static variable in interface io.nats.client.support.NatsConstants
 
HEADER_VERSION_BYTES - Static variable in interface io.nats.client.support.NatsConstants
 
HEADER_VERSION_BYTES_LEN - Static variable in interface io.nats.client.support.NatsConstants
 
HEADER_VERSION_BYTES_PLUS_CRLF - Static variable in interface io.nats.client.support.NatsConstants
 
headers(Headers) - Method in class io.nats.client.api.ObjectInfo.Builder
 
headers(Headers) - Method in class io.nats.client.api.ObjectMeta.Builder
 
HEADERS - Static variable in interface io.nats.client.support.ApiConstants
 
HEADERS_ONLY - Static variable in interface io.nats.client.support.ApiConstants
 
headersOnly(Boolean) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
set the headers only flag saying to deliver only the headers of messages in the stream and not the bodies
headersOnly - Variable in class io.nats.client.api.ConsumerConfiguration
 
headersOnly(Boolean) - Method in class io.nats.client.api.Republish.Builder
set Whether to RePublish only headers (no body)
headersOnlyWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
Gets whether headers only for this consumer configuration was set or left unset
HEARTBEAT_TEXT - Static variable in class io.nats.client.support.Status
 
heartbeatAlarm(Connection, JetStreamSubscription, long, long) - Method in interface io.nats.client.ErrorListener
Called when subscription heartbeats are missed according to the configured period and threshold.
history(String) - Method in interface io.nats.client.KeyValue
Get the history (list of KeyValueEntry) for a key
HOST - Static variable in interface io.nats.client.support.ApiConstants
 
HPUB_SP_BYTES - Static variable in interface io.nats.client.support.NatsConstants
 
HPUB_SP_BYTES_LEN - Static variable in interface io.nats.client.support.NatsConstants
 

I

i - Variable in class io.nats.client.support.JsonValue
 
ID - Static variable in interface io.nats.client.support.ApiConstants
 
id() - Method in class io.nats.client.support.NatsJetStreamClientError
 
id - Variable in class io.nats.service.ServiceResponse
 
IDLE_HEARTBEAT - Static variable in interface io.nats.client.support.ApiConstants
 
idleHeartbeat(Duration) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
sets the idle heart beat wait time
idleHeartbeat(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
sets the idle heart beat wait time
idleHeartbeat - Variable in class io.nats.client.api.ConsumerConfiguration
 
idleHeartbeat(long) - Method in class io.nats.client.PullRequestOptions.Builder
Set the idle heartbeat time in millis
idleHeartbeat(Duration) - Method in class io.nats.client.PullRequestOptions.Builder
Set the idle heartbeat duration
ignoreDiscoveredServers() - Method in class io.nats.client.Options.Builder
Turn off use of discovered servers when connecting / reconnecting.
INACTIVE_THRESHOLD - Static variable in interface io.nats.client.support.ApiConstants
 
inactiveThreshold(Duration) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
sets the amount of time before the consumer is deemed inactive.
inactiveThreshold(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
sets the amount of time before the consumer is deemed inactive.
inactiveThreshold - Variable in class io.nats.client.api.ConsumerConfiguration
 
inboxPrefix(String) - Method in class io.nats.client.Options.Builder
Set the connection's inbox prefix.
IncomingHeadersProcessor - Class in io.nats.client.support
 
IncomingHeadersProcessor(byte[]) - Constructor for class io.nats.client.support.IncomingHeadersProcessor
 
info() - Method in class io.nats.service.Discovery
 
info(String) - Method in class io.nats.service.Discovery
 
info(String, String) - Method in class io.nats.service.Discovery
 
infoDispatcher(Dispatcher) - Method in class io.nats.service.ServiceBuilder
 
InfoResponse - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
InfoResponse(String, String, String, String, List<String>) - Constructor for class io.nats.service.InfoResponse
 
InfoResponse(byte[]) - Constructor for class io.nats.service.InfoResponse
 
inProgress() - Method in interface io.nats.client.Message
Indicates that this message is being worked on and reset redelivery timer in the server.
inProgress() - Method in class io.nats.service.ServiceMessage
 
instance(Duration) - Static method in class io.nats.client.support.JsonValueUtils
 
instance(Collection) - Static method in class io.nats.client.support.JsonValueUtils
 
instance(Map) - Static method in class io.nats.client.support.JsonValueUtils
 
instance() - Method in class io.nats.client.support.NatsJetStreamClientError
 
instance(String) - Method in class io.nats.client.support.NatsJetStreamClientError
 
integer_pattern(String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
INTEGER_UNSET - Static variable in class io.nats.client.api.ConsumerConfiguration
 
INTERNAL - Static variable in interface io.nats.client.support.ApiConstants
 
internalArray() - Method in class io.nats.client.support.BuilderBase
Access the internal byte array of this buffer.
internalArray() - Method in class io.nats.client.support.ByteArrayBuilder
Access the internal byte array of this buffer.
internalArray() - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Access the internal byte array of this buffer.
INVALID_HEADER_COMPOSITION - Static variable in interface io.nats.client.support.NatsConstants
 
INVALID_HEADER_STATUS_CODE - Static variable in interface io.nats.client.support.NatsConstants
 
INVALID_HEADER_VERSION - Static variable in interface io.nats.client.support.NatsConstants
 
io.nats.client - package io.nats.client
The Java NATS client is encapsulated into this single package io.nats.client.
io.nats.client.api - package io.nats.client.api
 
io.nats.client.support - package io.nats.client.support
 
io.nats.service - package io.nats.service
 
isActive() - Method in interface io.nats.client.Consumer
 
isAuthRequired() - Method in class io.nats.client.api.ServerInfo
 
isBind() - Method in class io.nats.client.SubscribeOptions
Gets whether this subscription is expected to bind to an existing stream and durable consumer
isBucketLink() - Method in class io.nats.client.api.ObjectLink
 
isCancelOn503() - Method in class io.nats.client.support.NatsRequestCompletableFuture
 
isCurrent() - Method in class io.nats.client.api.PeerInfo
Indicates if the server is up-to-date and synchronised
isDefaultPrefix() - Method in class io.nats.client.JetStreamOptions
Returns true if the prefix for the options is the default prefix.
isDeleted() - Method in class io.nats.client.api.ObjectInfo
 
isDeletedDetails() - Method in class io.nats.client.api.StreamInfoOptions
 
isDiscardMessagesWhenOutgoingQueueFull() - Method in class io.nats.client.Options
 
isDiscardNewPerSubject() - Method in class io.nats.client.api.StreamConfiguration
Whether discard policy with max message per subject is applied per subject.
isDuplicate() - Method in class io.nats.client.api.PublishAck
Gets if the server detected the published message was a duplicate.
isErase() - Method in class io.nats.client.api.MessageDeleteRequest
 
isFlowControl() - Method in class io.nats.client.api.ConsumerConfiguration
Get the flow control flag indicating whether it's on or off
isFlowControl() - Method in class io.nats.client.support.Status
 
isHeadersOnly() - Method in class io.nats.client.api.ConsumerConfiguration
Get the header only flag indicating whether it's on or off
isHeadersOnly() - Method in class io.nats.client.api.Republish
Get headersOnly, Whether to RePublish only headers (no body)
isHeadersSupported() - Method in class io.nats.client.api.ServerInfo
 
isHeartbeat() - Method in class io.nats.client.support.Status
 
isIgnoreDiscoveredServers() - Method in class io.nats.client.Options
Get whether to ignore discovered servers
isJetStream() - Method in interface io.nats.client.Message
Checks if a message is from Jetstream or is a standard message.
isJetStream() - Method in class io.nats.service.ServiceMessage
 
isJetStreamAvailable() - Method in class io.nats.client.api.ServerInfo
 
isLameDuckMode() - Method in class io.nats.client.api.ServerInfo
 
isLink() - Method in class io.nats.client.api.ObjectInfo
 
isMaxBytesRequired() - Method in class io.nats.client.api.AccountLimits
Indicates if streams created in this account requires the max_bytes property set.
isMemStorage() - Method in class io.nats.client.api.ConsumerConfiguration
Get the mem storage flag whether it's on or off.
isNewerVersionThan(String) - Method in class io.nats.client.api.ServerInfo
 
isNoEcho() - Method in class io.nats.client.Options
 
isNoErase() - Method in class io.nats.client.api.MessageDeleteRequest
 
isNoHeaders() - Method in class io.nats.client.Options
 
isNoNoResponders() - Method in class io.nats.client.Options
 
isNoRandomize() - Method in class io.nats.client.Options
 
isNoResponders() - Method in class io.nats.client.support.Status
 
isNoWait() - Method in class io.nats.client.PullRequestOptions
Get the no wait flag value
isObjectLink() - Method in class io.nats.client.api.ObjectLink
 
isOffline() - Method in class io.nats.client.api.PeerInfo
Indicates the node is considered offline by the group
isOlderThanVersion(String) - Method in class io.nats.client.api.ServerInfo
 
isOldRequestStyle() - Method in class io.nats.client.Options
 
isOptOut290ConsumerCreate() - Method in class io.nats.client.JetStreamOptions
Gets whether the opt-out of the server v2.9.0 consumer create api is set
isOrdered() - Method in class io.nats.client.SubscribeOptions
Gets whether this subscription is expected to ensure messages come in order
isPedantic() - Method in class io.nats.client.Options
 
isPublishNoAck() - Method in class io.nats.client.JetStreamOptions
Gets the whether the publish no ack flag was set
isPull() - Method in class io.nats.client.SubscribeOptions
Gets whether this is a pull subscription
isPushBound() - Method in class io.nats.client.api.ConsumerInfo
 
isSameOrNewerThanVersion(String) - Method in class io.nats.client.api.ServerInfo
 
isSameOrOlderThanVersion(String) - Method in class io.nats.client.api.ServerInfo
 
isSameVersion(String) - Method in class io.nats.client.api.ServerInfo
 
isSealed() - Method in class io.nats.client.api.ObjectStoreStatus
If true, indicates the stream is sealed and cannot be modified in any way
isSemVer(String) - Static method in class io.nats.client.support.Validator
 
isStatusMessage() - Method in interface io.nats.client.Message
 
isStatusMessage() - Method in class io.nats.service.ServiceMessage
 
isSuccess() - Method in class io.nats.client.api.PurgeResponse
Returns true if the server was able to purge the stream
issueUserJWT(NKey, String, String) - Static method in class io.nats.client.support.JwtUtils
Issue a user JWT from a scoped signing key.
issueUserJWT(NKey, String, String, String) - Static method in class io.nats.client.support.JwtUtils
Issue a user JWT from a scoped signing key.
issueUserJWT(NKey, String, String, String, Duration, String...) - Static method in class io.nats.client.support.JwtUtils
Issue a user JWT from a scoped signing key.
issueUserJWT(NKey, String, String, String, Duration, String[], long) - Static method in class io.nats.client.support.JwtUtils
Method used for testing.
isTLSRequired() - Method in class io.nats.client.api.ServerInfo
 
isTLSRequired() - Method in class io.nats.client.Options
 
isTraceConnection() - Method in class io.nats.client.Options
 
isTrackAdvancedStats() - Method in class io.nats.client.Options
 
isType(TokenType) - Method in class io.nats.client.support.Token
 
isUtf8mode() - Method in interface io.nats.client.Message
 
isUtf8mode() - Method in class io.nats.service.ServiceMessage
 
isValidPublicAccountKey(char[]) - Static method in class io.nats.client.NKey
 
isValidPublicClusterKey(char[]) - Static method in class io.nats.client.NKey
 
isValidPublicOperatorKey(char[]) - Static method in class io.nats.client.NKey
 
isValidPublicServerKey(char[]) - Static method in class io.nats.client.NKey
 
isValidPublicUserKey(char[]) - Static method in class io.nats.client.NKey
 
isVerbose() - Method in class io.nats.client.Options
 
iterate(int, Duration) - Method in interface io.nats.client.JetStreamSubscription
Prepares an iterator.
iterate(int, long) - Method in interface io.nats.client.JetStreamSubscription
Prepares an iterator.

J

jetStream() - Method in interface io.nats.client.Connection
Gets a context for publishing and subscribing to subjects backed by Jetstream streams and consumers.
jetStream(JetStreamOptions) - Method in interface io.nats.client.Connection
Gets a context for publishing and subscribing to subjects backed by Jetstream streams and consumers.
JetStream - Interface in io.nats.client
JetStream context for creation and access to streams and consumers in NATS.
JETSTREAM - Static variable in interface io.nats.client.support.ApiConstants
 
JetStreamApiException - Exception in io.nats.client
JetStreamApiException is used to indicate that the server returned an error while make a request related to JetStream.
JetStreamApiException(ApiResponse<?>) - Constructor for exception io.nats.client.JetStreamApiException
Construct an exception with the response from the server.
JetStreamApiException(Error) - Constructor for exception io.nats.client.JetStreamApiException
 
jetStreamManagement() - Method in interface io.nats.client.Connection
Gets a context for managing Jetstream streams and consumers.
jetStreamManagement(JetStreamOptions) - Method in interface io.nats.client.Connection
Gets a context for managing Jetstream streams and consumers.
JetStreamManagement - Interface in io.nats.client
JetStream Management context for creation and access to streams and consumers in NATS.
jetStreamOptions(JetStreamOptions) - Method in class io.nats.client.FeatureOptions.Builder
Sets the JetStreamOptions.
JetStreamOptions - Class in io.nats.client
The JetStreamOptions class specifies the general options for JetStream.
JetStreamOptions.Builder - Class in io.nats.client
JetStreamOptions can be created using a Builder.
JetStreamReader - Interface in io.nats.client
THIS IS PART OF AN EXPERIMENTAL API AND IS CONSIDERED EXPERIMENTAL AND SUBJECT TO CHANGE
JetStreamStatusException - Exception in io.nats.client
JetStreamStatusException is used to indicate an unknown status message was received.
JetStreamStatusException(JetStreamSubscription, Status) - Constructor for exception io.nats.client.JetStreamStatusException
Construct an exception with a status message
JetStreamSubscription - Interface in io.nats.client
Subscription on a JetStream context.
JS_ACK_SUBJECT_PREFIX - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JS_CONSUMER_NOT_FOUND_ERR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JS_NO_MESSAGE_FOUND_ERR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JS_WRONG_LAST_SEQUENCE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_ACCOUNT_INFO - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_CONSUMER_CREATE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_CONSUMER_CREATE_V290 - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_CONSUMER_CREATE_V290_W_FILTER - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_CONSUMER_DELETE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_CONSUMER_INFO - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_CONSUMER_LIST - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_CONSUMER_MSG_NEXT - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_CONSUMER_NAMES - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_DIRECT_GET - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_DIRECT_GET_LAST - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_DURABLE_CREATE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_MSG_DELETE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_MSG_GET - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_STREAM_CREATE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_STREAM_DELETE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_STREAM_INFO - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_STREAM_LIST - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_STREAM_NAMES - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_STREAM_PURGE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JSAPI_STREAM_UPDATE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JsBadRequestErr - Static variable in class io.nats.client.api.Error
 
JsConsumerCantUseNameBefore290 - Static variable in class io.nats.client.support.NatsJetStreamClientError
Deprecated.
JsConsumerCreate290NotAvailable - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsConsumerNameDurableMismatch - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
jsDomain(String) - Method in class io.nats.client.FeatureOptions.Builder
Sets the domain for JetStream subjects, creating a standard prefix from that domain in the form $JS.(domain).API.
JsNoMessageFoundErr - Static variable in class io.nats.client.api.Error
 
jsonDecode(String) - Static method in class io.nats.client.support.Encoding
 
jsonEncode(String) - Static method in class io.nats.client.support.Encoding
 
jsonEncode(StringBuilder, String) - Static method in class io.nats.client.support.Encoding
 
JsonParseException - Exception in io.nats.client.support
 
JsonParseException(String) - Constructor for exception io.nats.client.support.JsonParseException
 
JsonParseException(String, Throwable) - Constructor for exception io.nats.client.support.JsonParseException
 
JsonParseException(Throwable) - Constructor for exception io.nats.client.support.JsonParseException
 
JsonParser - Class in io.nats.client.support
 
JsonParser(char[]) - Constructor for class io.nats.client.support.JsonParser
 
JsonParser(char[], JsonParser.Option...) - Constructor for class io.nats.client.support.JsonParser
 
JsonParser(char[], int, JsonParser.Option...) - Constructor for class io.nats.client.support.JsonParser
 
JsonSerializable - Interface in io.nats.client.support
 
JsonUtils - Class in io.nats.client.support
Internal json parsing helpers.
JsonUtils.FieldType - Enum in io.nats.client.support
Deprecated.
JsonValue - Class in io.nats.client.support
 
JsonValue() - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(String) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(char) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(Boolean) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(int) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(long) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(double) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(float) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(BigDecimal) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(BigInteger) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(Map<String, JsonValue>) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(List<JsonValue>) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue(JsonValue[]) - Constructor for class io.nats.client.support.JsonValue
 
JsonValue.Type - Enum in io.nats.client.support
 
JsonValueUtils - Class in io.nats.client.support
Internal json value helpers.
JsonValueUtils.ArrayBuilder - Class in io.nats.client.support
 
JsonValueUtils.JsonValueSupplier<T> - Interface in io.nats.client.support
 
JsonValueUtils.MapBuilder - Class in io.nats.client.support
 
jsPrefix(String) - Method in class io.nats.client.FeatureOptions.Builder
Sets the prefix for JetStream subjects.
jsRequestTimeout(Duration) - Method in class io.nats.client.FeatureOptions.Builder
Sets the request timeout for JetStream API calls.
JsSoDeliverGroupMismatch - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoDeliverSubjectMismatch - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoDurableMismatch - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoNameMismatch - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoOrderedMemStorageNotSuppliedOrTrue - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoOrderedNotAllowedWithBind - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoOrderedNotAllowedWithDeliverGroup - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoOrderedNotAllowedWithDeliverSubject - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoOrderedNotAllowedWithDurable - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoOrderedReplicasNotSuppliedOrOne - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoOrderedRequiresAckPolicyNone - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSoOrderedRequiresMaxDeliver - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubConsumerAlreadyBound - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubConsumerAlreadyConfiguredAsPull - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubConsumerAlreadyConfiguredAsPush - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubConsumerNotFoundRequiredInBind - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubExistingConsumerCannotBeModified - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubExistingConsumerIsQueue - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubExistingConsumerNotQueue - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubExistingQueueDoesNotMatchRequestedQueue - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubFcHbHbNotValidQueue - Static variable in class io.nats.client.support.NatsJetStreamClientError
Deprecated.
JsSubFcHbNotValidPull - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubFcHbNotValidQueue - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubNoMatchingStreamForSubject - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubOrderedNotAllowOnQueues - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubPullCantHaveDeliverGroup - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubPullCantHaveDeliverSubject - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubPushAsyncCantSetPending - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubPushCantHaveMaxBatch - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubPushCantHaveMaxBytes - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubPushCantHaveMaxPullWaiting - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubQueueDeliverGroupMismatch - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsSubSubjectDoesNotMatchFilter - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
jv - Variable in class io.nats.client.api.ApiResponse
 
jv - Variable in class io.nats.client.support.JsonValueUtils.ArrayBuilder
 
jv - Variable in class io.nats.client.support.JsonValueUtils.MapBuilder
 
JwtUtils - Class in io.nats.client.support
Implements https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-14.md

K

keep(long) - Method in class io.nats.client.PurgeOptions.Builder
set the max number of messages to keep
keep - Variable in class io.nats.client.PurgeOptions
 
KEEP - Static variable in interface io.nats.client.support.ApiConstants
 
key - Variable in class io.nats.client.support.NatsKeyValueUtil.BucketAndKey
 
keys() - Method in interface io.nats.client.KeyValue
Get a list of the keys in a bucket.
keyValue(String) - Method in interface io.nats.client.Connection
Gets a context for working with an Key Value bucket
keyValue(String, KeyValueOptions) - Method in interface io.nats.client.Connection
Gets a context for working with an Key Value bucket
KeyValue - Interface in io.nats.client
Key Value Store Management context for creation and access to key value buckets.
KeyValueConfiguration - Class in io.nats.client.api
The KeyValueConfiguration class contains the configuration for of a Key Value bucket.
KeyValueConfiguration.Builder - Class in io.nats.client.api
KeyValueConfiguration is created using a Builder.
KeyValueEntry - Class in io.nats.client.api
The KeyValueEntry represents a record in the Key Value history
KeyValueEntry(MessageInfo) - Constructor for class io.nats.client.api.KeyValueEntry
 
KeyValueEntry(Message) - Constructor for class io.nats.client.api.KeyValueEntry
 
keyValueManagement() - Method in interface io.nats.client.Connection
Gets a context for managing Key Value buckets
keyValueManagement(KeyValueOptions) - Method in interface io.nats.client.Connection
Gets a context for managing Key Value buckets
KeyValueManagement - Interface in io.nats.client
Key Value Store Management context for creation and access to key value buckets.
KeyValueOperation - Enum in io.nats.client.api
Key Value Operations Enum
KeyValueOptions - Class in io.nats.client
The KeyValueOptions class specifies the general options for KeyValueO.
KeyValueOptions.Builder - Class in io.nats.client
KeyValueOptions can be created using a Builder.
KeyValuePurgeOptions - Class in io.nats.client.api
 
KeyValuePurgeOptions.Builder - Class in io.nats.client.api
KeyValuePurgeOptions is created using a Builder.
KeyValueStatus - Class in io.nats.client.api
The KeyValueStatus class contains information about a Key Value Bucket.
KeyValueStatus(StreamInfo) - Constructor for class io.nats.client.api.KeyValueStatus
 
KeyValueWatcher - Interface in io.nats.client.api
Use the KeyValueWatcher interface to watch for updates
KeyValueWatchOption - Enum in io.nats.client.api
 
KIND_ILLEGAL_ARGUMENT - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
KIND_ILLEGAL_STATE - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
KNOWN_PROTOCOLS - Static variable in interface io.nats.client.support.NatsConstants
 
KV_OPERATION_HEADER_KEY - Static variable in class io.nats.client.support.NatsKeyValueUtil
 
KV_STREAM_PREFIX - Static variable in class io.nats.client.support.NatsKeyValueUtil
 
KV_STREAM_PREFIX_LEN - Static variable in class io.nats.client.support.NatsKeyValueUtil
 
KV_SUBJECT_PREFIX - Static variable in class io.nats.client.support.NatsKeyValueUtil
 
KV_SUBJECT_SUFFIX - Static variable in class io.nats.client.support.NatsKeyValueUtil
 

L

l - Variable in class io.nats.client.support.JsonValue
 
LAG - Static variable in interface io.nats.client.support.ApiConstants
 
LAME_DUCK_MODE - Static variable in interface io.nats.client.support.ApiConstants
 
LAST_ACTIVE - Static variable in interface io.nats.client.support.ApiConstants
 
LAST_BY_SUBJECT - Static variable in interface io.nats.client.support.ApiConstants
 
LAST_CONSUMER_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
LAST_ERROR - Static variable in interface io.nats.client.support.ApiConstants
 
LAST_SEQ - Static variable in interface io.nats.client.support.ApiConstants
 
LAST_STREAM_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
LAST_TS - Static variable in interface io.nats.client.support.ApiConstants
 
lastAck() - Method in interface io.nats.client.Message
the last ack that was done with this message
lastAck() - Method in class io.nats.service.ServiceMessage
 
LEADER - Static variable in interface io.nats.client.support.ApiConstants
 
length() - Method in class io.nats.client.support.BuilderBase
Get the length of the data in the buffer
length() - Method in class io.nats.client.support.ByteArrayBuilder
Get the length of the data in the buffer
length() - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Get the length of the data in the buffer
LF - Static variable in interface io.nats.client.support.NatsConstants
 
LIMIT - Static variable in interface io.nats.client.support.ApiConstants
 
LIMITS - Static variable in interface io.nats.client.support.ApiConstants
 
link(ObjectLink) - Method in class io.nats.client.api.ObjectInfo.Builder
 
link(ObjectLink) - Method in class io.nats.client.api.ObjectMeta.Builder
 
link(ObjectLink) - Method in class io.nats.client.api.ObjectMetaOptions.Builder
 
LINK - Static variable in interface io.nats.client.support.ApiConstants
 
listOf(JsonValue, Function<JsonValue, T>) - Static method in class io.nats.client.support.JsonValueUtils
 
LONG_UNSET - Static variable in class io.nats.client.api.ConsumerConfiguration
 
LOST - Static variable in interface io.nats.client.support.ApiConstants
 
LostStreamData - Class in io.nats.client.api
Information about lost stream data

M

map - Variable in class io.nats.client.support.JsonValue
 
mapBuilder() - Static method in class io.nats.client.support.JsonValueUtils
 
MapBuilder() - Constructor for class io.nats.client.support.JsonValueUtils.MapBuilder
 
matches(String) - Method in class io.nats.client.support.Digester
 
MAX_ACK_PENDING - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_AGE - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_BATCH - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_BYTES - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_BYTES_REQUIRED - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_CHUNK_SIZE - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_CONSUMERS - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_DELIVER - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_DELIVER_MIN - Static variable in class io.nats.client.api.ConsumerConfiguration
 
MAX_EXPIRES - 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_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_MSGS - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_MSGS_PER_SUB - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_PAYLOAD - 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
Deprecated.
MAX_STORAGE - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_STREAMS - Static variable in interface io.nats.client.support.ApiConstants
 
MAX_WAITING - 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.
maxBucketSize(long) - Method in class io.nats.client.api.ObjectStoreConfiguration.Builder
Sets the maximum number of bytes in the ObjectStoreConfiguration.
maxBytes(Long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
sets the max bytes size for the server to allow on pull requests.
maxBytes(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
sets the max bytes size for the server to allow on pull requests.
maxBytes - Variable in class io.nats.client.api.ConsumerConfiguration
 
maxBytes(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the maximum number of bytes in the StreamConfiguration.
maxBytes(int) - Method in class io.nats.client.PullRequestOptions.Builder
The maximum bytes for the pull
maxBytesWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
Gets whether max bytes for this consumer configuration was set or left unset
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.
MEM_STORAGE - Static variable in interface io.nats.client.support.ApiConstants
 
MEMORY - Static variable in interface io.nats.client.support.ApiConstants
 
MEMORY_MAX_STREAM_BYTES - Static variable in interface io.nats.client.support.ApiConstants
 
memStorage(Boolean) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
set the mem storage flag to force the consumer state to be kept in memory rather than inherit the setting from the stream
memStorage - Variable in class io.nats.client.api.ConsumerConfiguration
 
memStorageWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
Gets whether mem storage for this consumer configuration was set or left unset
Message - Interface in io.nats.client
The NATS library uses a Message object to encapsulate incoming messages.
MESSAGE - Static variable in interface io.nats.client.support.ApiConstants
 
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
 
MessageDeleteRequest - Class in io.nats.client.api
Object used to make a request for message delete requests.
MessageDeleteRequest(long, boolean) - Constructor for class io.nats.client.api.MessageDeleteRequest
 
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
Deprecated.
This signature was public for unit testing but is no longer used.
MessageInfo(Message, String, boolean) - Constructor for class io.nats.client.api.MessageInfo
Create a Message Info This signature is public for testing purposes and is not intended to be used externally.
MESSAGES - 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.
metaData() - Method in class io.nats.service.ServiceMessage
 
MIN_IDLE_HEARTBEAT - Static variable in class io.nats.client.api.ConsumerConfiguration
 
MIN_IDLE_HEARTBEAT_MILLIS - Static variable in class io.nats.client.api.ConsumerConfiguration
 
MIN_IDLE_HEARTBEAT_NANOS - Static variable in class io.nats.client.api.ConsumerConfiguration
 
mirror(Mirror) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets the mirror in the KeyValueConfiguration.
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
 
MIRROR_DIRECT - Static variable in interface io.nats.client.support.ApiConstants
 
mirrorDirect(boolean) - Method in class io.nats.client.api.StreamConfiguration.Builder
Set whether to allow unified direct access for mirrors
MirrorInfo - Class in io.nats.client.api
Information about an upstream stream source in a mirror
modified(ZonedDateTime) - Method in class io.nats.client.api.ObjectInfo.Builder
 
MSG_ID_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
MSG_SIZE_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
MSGS - Static variable in interface io.nats.client.support.ApiConstants
 
MTIME - Static variable in interface io.nats.client.support.ApiConstants
 
mustBe(TokenType) - Method in class io.nats.client.support.Token
 

N

nak() - Method in interface io.nats.client.Message
nak acknowledges a JetStream message has been received but indicates that the message is not completely processed and should be sent again later.
nak() - Method in class io.nats.service.ServiceMessage
 
nakWithDelay(Duration) - Method in interface io.nats.client.Message
nak acknowledges a JetStream message has been received but indicates that the message is not completely processed and should be sent again later, after at least the delay amount.
nakWithDelay(long) - Method in interface io.nats.client.Message
nak acknowledges a JetStream message has been received but indicates that the message is not completely processed and should be sent again later, after at least the delay amount.
nakWithDelay(Duration) - Method in class io.nats.service.ServiceMessage
 
nakWithDelay(long) - Method in class io.nats.service.ServiceMessage
 
name(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Sets the name of the consumer.
name - Variable in class io.nats.client.api.ConsumerConfiguration
 
name(String) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets the name of the key value bucket.
name(String) - Method in class io.nats.client.api.ObjectStoreConfiguration.Builder
Sets the name of the store.
name(String) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the name of the stream.
name(String) - Method in class io.nats.client.SubscribeOptions.Builder
Sets the name of the consumer.
NAME - Static variable in interface io.nats.client.support.ApiConstants
 
name(String) - Method in class io.nats.service.Endpoint.Builder
 
name(String) - Method in class io.nats.service.ServiceBuilder
 
name - Variable in class io.nats.service.ServiceResponse
 
NANOS_PER_MILLI - Static variable in interface io.nats.client.support.NatsConstants
 
Nats - Class in io.nats.client
The Nats class is the entry point into the NATS client for Java.
NATS_LAST_SEQUENCE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
NATS_PROTOCOL - Static variable in interface io.nats.client.support.NatsConstants
 
NATS_PROTOCOL_SLASH_SLASH - Static variable in interface io.nats.client.support.NatsConstants
 
NATS_SEQUENCE - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
NATS_SERVICE_ERROR - Static variable in class io.nats.service.ServiceMessage
 
NATS_SERVICE_ERROR_CODE - Static variable in class io.nats.service.ServiceMessage
 
NATS_STREAM - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
NATS_SUBJECT - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
NATS_TIMESTAMP - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
NATS_USER_JWT_FORMAT - Static variable in class io.nats.client.support.JwtUtils
Format string with `%s` place holder for the JWT token followed by the user NKey seed.
NatsConstants - Interface in io.nats.client.support
 
NatsJetStreamClientError - Class in io.nats.client.support
 
NatsJetStreamClientError(String, int, String) - Constructor for class io.nats.client.support.NatsJetStreamClientError
 
NatsJetStreamClientError(String, int, String, int) - Constructor for class io.nats.client.support.NatsJetStreamClientError
 
NatsJetStreamConstants - Interface in io.nats.client.support
 
NatsKeyValueUtil - Class in io.nats.client.support
 
NatsKeyValueUtil.BucketAndKey - Class in io.nats.client.support
 
NatsObjectStoreUtil - Class in io.nats.client.support
 
NatsRequestCompletableFuture - Class in io.nats.client.support
 
NatsRequestCompletableFuture(boolean, Duration) - Constructor for class io.nats.client.support.NatsRequestCompletableFuture
 
next() - Method in class io.nats.client.NUID
Generate the next NUID string from this instance.
NEXT_BY_SUBJECT - Static variable in interface io.nats.client.support.ApiConstants
 
nextGlobal() - Static method in class io.nats.client.NUID
 
nextLong(Random, long) - Static method in class io.nats.client.support.RandomUtils
 
nextMessage(Duration) - Method in interface io.nats.client.JetStreamReader
 
nextMessage(long) - Method in interface io.nats.client.JetStreamReader
 
nextMessage(Duration) - Method in interface io.nats.client.Subscription
Read the next message for a subscription, or block until one is available.
nextMessage(long) - Method in interface io.nats.client.Subscription
Read the next message for a subscription, or block until one is available.
NKey - Class in io.nats.client
The NATS ecosystem will be moving to Ed25519 keys for identity, authentication and authorization for entities such as Accounts, Users, Servers and Clusters.
NKey.Type - Enum in io.nats.client
NKeys use a prefix byte to indicate their intended owner: 'N' = server, 'C' = cluster, 'A' = account, and 'U' = user.
NO_ACK - Static variable in interface io.nats.client.support.ApiConstants
 
NO_ERASE - Static variable in interface io.nats.client.support.ApiConstants
 
NO_RESPONDERS_CODE - Static variable in class io.nats.client.support.Status
 
NO_RESPONDERS_TEXT - Static variable in class io.nats.client.support.Status
 
NO_TYPE - Static variable in class io.nats.client.api.ApiResponse
 
NO_WAIT - Static variable in interface io.nats.client.support.ApiConstants
 
noAck(boolean) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the acknowledgement mode of the StreamConfiguration.
noEcho() - Method in class io.nats.client.Options.Builder
Turn off echo.
noHeaders() - Method in class io.nats.client.Options.Builder
Turn off header support.
NONCE - Static variable in interface io.nats.client.support.ApiConstants
 
noNoResponders() - Method in class io.nats.client.Options.Builder
Turn off noresponder support.
noRandomize() - Method in class io.nats.client.Options.Builder
For the default server list provider, turn off server pool randomization.
noReconnect() - Method in class io.nats.client.Options.Builder
Equivalent to calling maxReconnects with 0, maxReconnects.
normalize(Long, long) - Static method in class io.nats.client.api.ConsumerConfiguration
 
normalize(Duration) - Static method in class io.nats.client.api.ConsumerConfiguration
 
normalize(String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
normalizeDuration(long) - Static method in class io.nats.client.api.ConsumerConfiguration
 
normalizeUlong(Long) - Static method in class io.nats.client.api.ConsumerConfiguration
 
NOT_SET - Static variable in class io.nats.client.api.Error
 
notNonWildcardKvKey(String) - Static method in class io.nats.client.support.Validator
 
notPrintable(String) - Static method in class io.nats.client.support.Validator
 
notPrintableOrHasChars(String, char[]) - Static method in class io.nats.client.support.Validator
 
notRestrictedTerm(String) - Static method in class io.nats.client.support.Validator
 
notWildcardKvKey(String) - Static method in class io.nats.client.support.Validator
 
noWait() - Method in class io.nats.client.PullRequestOptions.Builder
Set no wait to true
noWait(boolean) - Method in class io.nats.client.PullRequestOptions.Builder
Set the no wait flag
noWait(int) - Static method in class io.nats.client.PullRequestOptions
Creates a builder for the pull options, setting no wait to true and accepting batch size
nuid(String) - Method in class io.nats.client.api.ObjectInfo.Builder
 
NUID - Class in io.nats.client
A highly performant unique identifier generator.
NUID() - Constructor for class io.nats.client.NUID
The default NUID constructor.
NUID - Static variable in interface io.nats.client.support.ApiConstants
 
NULL - Static variable in class io.nats.client.support.BuilderBase
 
NULL - Static variable in class io.nats.client.support.JsonValue
 
nullOrEmpty(String) - Static method in class io.nats.client.support.Validator
 
NUM_ACK_PENDING - Static variable in interface io.nats.client.support.ApiConstants
 
NUM_DELETED - Static variable in interface io.nats.client.support.ApiConstants
 
NUM_ERRORS - Static variable in interface io.nats.client.support.ApiConstants
 
NUM_PENDING - Static variable in interface io.nats.client.support.ApiConstants
 
NUM_REDELIVERED - Static variable in interface io.nats.client.support.ApiConstants
 
NUM_REPLICAS - Static variable in interface io.nats.client.support.ApiConstants
 
NUM_REQUESTS - Static variable in interface io.nats.client.support.ApiConstants
 
NUM_SUBJECTS - Static variable in interface io.nats.client.support.ApiConstants
 
NUM_WAITING - Static variable in interface io.nats.client.support.ApiConstants
 
number - Variable in class io.nats.client.support.JsonValue
 
number_array_pattern(String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
number_pattern(String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
numReplicas(Integer) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
set the number of replicas for the consumer.
numReplicas - Variable in class io.nats.client.api.ConsumerConfiguration
 
numReplicasWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
Gets whether num replicas for this consumer configuration was set or left unset

O

OBJ_CHUNK_PART - Static variable in class io.nats.client.support.NatsObjectStoreUtil
 
OBJ_META_PART - Static variable in class io.nats.client.support.NatsObjectStoreUtil
 
OBJ_STREAM_PREFIX - Static variable in class io.nats.client.support.NatsObjectStoreUtil
 
OBJ_STREAM_PREFIX_LEN - Static variable in class io.nats.client.support.NatsObjectStoreUtil
 
OBJ_SUBJECT_PREFIX - Static variable in class io.nats.client.support.NatsObjectStoreUtil
 
OBJ_SUBJECT_SUFFIX - Static variable in class io.nats.client.support.NatsObjectStoreUtil
 
object(String, String) - Static method in class io.nats.client.api.ObjectLink
 
object - Variable in class io.nats.client.support.JsonValue
 
ObjectInfo - Class in io.nats.client.api
The ObjectInfo is Object Meta Information plus instance information OBJECT STORE IMPLEMENTATION IS EXPERIMENTAL AND SUBJECT TO CHANGE.
ObjectInfo(MessageInfo) - Constructor for class io.nats.client.api.ObjectInfo
 
ObjectInfo(Message) - Constructor for class io.nats.client.api.ObjectInfo
 
ObjectInfo.Builder - Class in io.nats.client.api
 
objectLink(String, String) - Method in class io.nats.client.api.ObjectInfo.Builder
 
ObjectLink - Class in io.nats.client.api
The ObjectLink is used to embed links to other objects.
ObjectMeta - Class in io.nats.client.api
The ObjectMeta is Object Meta is high level information about an object OBJECT STORE IMPLEMENTATION IS EXPERIMENTAL AND SUBJECT TO CHANGE.
ObjectMeta.Builder - Class in io.nats.client.api
 
ObjectMetaOptions - Class in io.nats.client.api
The ObjectMeta is Object Meta is high level information about an object.
ObjectMetaOptions.Builder - Class in io.nats.client.api
 
objectName(String) - Method in class io.nats.client.api.ObjectInfo.Builder
 
objectName(String) - Method in class io.nats.client.api.ObjectMeta.Builder
 
objectName(String) - Static method in class io.nats.client.api.ObjectMeta
 
objectStore(String) - Method in interface io.nats.client.Connection
Gets a context for working with an Object Store.
objectStore(String, ObjectStoreOptions) - Method in interface io.nats.client.Connection
Gets a context for working with an Object Store.
ObjectStore - Interface in io.nats.client
Object Store Management context for creation and access to key value buckets.
ObjectStoreConfiguration - Class in io.nats.client.api
The ObjectStoreStatus class contains information about an object store.
ObjectStoreConfiguration.Builder - Class in io.nats.client.api
ObjectStoreConfiguration is created using a Builder.
objectStoreManagement() - Method in interface io.nats.client.Connection
Gets a context for managing Object Stores OBJECT STORE IMPLEMENTATION IS EXPERIMENTAL AND SUBJECT TO CHANGE.
objectStoreManagement(ObjectStoreOptions) - Method in interface io.nats.client.Connection
Gets a context for managing Object Stores OBJECT STORE IMPLEMENTATION IS EXPERIMENTAL AND SUBJECT TO CHANGE.
ObjectStoreManagement - Interface in io.nats.client
Object Store Management context for creation and access to object stores.
ObjectStoreOptions - Class in io.nats.client
The ObjectStoreOptions class specifies the general options for ObjectStore.
ObjectStoreOptions.Builder - Class in io.nats.client
ObjectStoreOptions can be created using a Builder.
ObjectStoreStatus - Class in io.nats.client.api
The ObjectStoreStatus class contains information about an object store.
ObjectStoreStatus(StreamInfo) - Constructor for class io.nats.client.api.ObjectStoreStatus
 
ObjectStoreWatcher - Interface in io.nats.client.api
Use the ObjectStoreWatcher interface to watch for updates
ObjectStoreWatchOption - Enum in io.nats.client.api
 
objectString(String, Object) - Static method in class io.nats.client.support.JsonUtils
 
OFFLINE - Static variable in interface io.nats.client.support.ApiConstants
 
OFFSET - Static variable in interface io.nats.client.support.ApiConstants
 
oldRequestStyle() - Method in class io.nats.client.Options.Builder
Turn on the old request style that uses a new inbox and subscriber for each request.
onMessage(Message) - Method in interface io.nats.client.MessageHandler
Called to deliver a message to the handler.
onMessage(ServiceMessage) - Method in interface io.nats.service.ServiceMessageHandler
Called to deliver a service message to the handler.
OP_CONNECT - Static variable in interface io.nats.client.support.NatsConstants
 
OP_CONNECT_SP_LEN - Static variable in interface io.nats.client.support.NatsConstants
 
OP_ERR - Static variable in interface io.nats.client.support.NatsConstants
 
OP_HMSG - Static variable in interface io.nats.client.support.NatsConstants
 
OP_HPUB - Static variable in interface io.nats.client.support.NatsConstants
 
OP_INFO - Static variable in interface io.nats.client.support.NatsConstants
 
OP_MSG - Static variable in interface io.nats.client.support.NatsConstants
 
OP_OK - Static variable in interface io.nats.client.support.NatsConstants
 
OP_PING - Static variable in interface io.nats.client.support.NatsConstants
 
OP_PING_BYTES - Static variable in interface io.nats.client.support.NatsConstants
 
OP_PONG - Static variable in interface io.nats.client.support.NatsConstants
 
OP_PONG_BYTES - Static variable in interface io.nats.client.support.NatsConstants
 
OP_PUB - Static variable in interface io.nats.client.support.NatsConstants
 
OP_SUB - Static variable in interface io.nats.client.support.NatsConstants
 
OP_SUB_SP_LEN - Static variable in interface io.nats.client.support.NatsConstants
 
OP_UNSUB - Static variable in interface io.nats.client.support.NatsConstants
 
OP_UNSUB_SP_LEN - Static variable in interface io.nats.client.support.NatsConstants
 
OPENQ - Static variable in class io.nats.client.support.JsonUtils
 
opentls() - Method in class io.nats.client.Options.Builder
Set the SSL context to one that accepts any server certificate and has no client certificates.
OPENTLS_PROTOCOL - Static variable in interface io.nats.client.support.NatsConstants
 
OPT_START_SEQ - Static variable in interface io.nats.client.support.ApiConstants
 
OPT_START_TIME - Static variable in interface io.nats.client.support.ApiConstants
 
optionalInstance(JsonValue) - Static method in class io.nats.service.Schema
 
optionalInstance(String, String) - Static method in class io.nats.service.Schema
 
optionalListOf(JsonValue, Function<JsonValue, T>) - Static method in class io.nats.client.support.JsonValueUtils
 
options(ObjectMetaOptions) - Method in class io.nats.client.api.ObjectInfo.Builder
 
options(ObjectMetaOptions) - Method in class io.nats.client.api.ObjectMeta.Builder
 
Options - Class in io.nats.client
The Options class specifies the connection options for a new NATs connection, including the default options.
OPTIONS - Static variable in interface io.nats.client.support.ApiConstants
 
Options.Builder - Class in io.nats.client
Options are created using a Builder.
optOut290ConsumerCreate(boolean) - Method in class io.nats.client.JetStreamOptions.Builder
Set whether to opt-out of the server v2.9.0 consumer create api.
ordered(boolean) - Method in class io.nats.client.PushSubscribeOptions.Builder
Set the ordered consumer flag
ordered - Variable in class io.nats.client.SubscribeOptions
 
OsCantLinkToLink - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
OsGetChunksMismatch - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
OsGetDigestMismatch - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
OsGetLinkToBucket - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
OsGetSizeMismatch - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
OsLinkNotAllowOnPut - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
OsObjectAlreadyExists - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
OsObjectIsDeleted - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
OsObjectNotFound - Static variable in class io.nats.client.support.NatsJetStreamClientError
 

P

parse(char[]) - Static method in class io.nats.client.support.JsonParser
 
parse(char[], int) - Static method in class io.nats.client.support.JsonParser
 
parse(char[], JsonParser.Option...) - Static method in class io.nats.client.support.JsonParser
 
parse(char[], int, JsonParser.Option...) - Static method in class io.nats.client.support.JsonParser
 
parse(String) - Static method in class io.nats.client.support.JsonParser
 
parse(String, int) - Static method in class io.nats.client.support.JsonParser
 
parse(String, JsonParser.Option...) - Static method in class io.nats.client.support.JsonParser
 
parse(String, int, JsonParser.Option...) - Static method in class io.nats.client.support.JsonParser
 
parse(byte[]) - Static method in class io.nats.client.support.JsonParser
 
parse(byte[], JsonParser.Option...) - Static method in class io.nats.client.support.JsonParser
 
parse() - Method in class io.nats.client.support.JsonParser
 
PARSE_ERROR_TYPE - Static variable in class io.nats.client.api.ApiResponse
 
parseDateTime(String) - Static method in class io.nats.client.support.DateTimeUtils
Parses a date time from the server.
parseDateTime(String, ZonedDateTime) - Static method in class io.nats.client.support.DateTimeUtils
 
parseDateTimeThrowParseError(String) - Static method in class io.nats.client.support.DateTimeUtils
 
parseMessage(Message) - Static method in class io.nats.client.api.ApiResponse
 
parseMessage(byte[]) - Static method in class io.nats.service.ServiceResponse
 
parseUnchecked(char[]) - Static method in class io.nats.client.support.JsonParser
 
parseUnchecked(char[], int) - Static method in class io.nats.client.support.JsonParser
 
parseUnchecked(char[], JsonParser.Option...) - Static method in class io.nats.client.support.JsonParser
 
parseUnchecked(char[], int, JsonParser.Option...) - Static method in class io.nats.client.support.JsonParser
 
parseUnchecked(String) - Static method in class io.nats.client.support.JsonParser
 
parseUnchecked(String, int) - Static method in class io.nats.client.support.JsonParser
 
parseUnchecked(String, JsonParser.Option...) - Static method in class io.nats.client.support.JsonParser
 
parseUnchecked(String, int, JsonParser.Option...) - Static method in class io.nats.client.support.JsonParser
 
parseUnchecked(byte[]) - Static method in class io.nats.client.support.JsonParser
 
parseUnchecked(byte[], JsonParser.Option...) - Static method in class io.nats.client.support.JsonParser
 
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
 
pendingByteLimit(long) - Method in class io.nats.client.PushSubscribeOptions.Builder
Set the maximum number of bytes that non-dispatched push subscriptions can hold in the internal (pending) message queue.
pendingByteLimit - Variable in class io.nats.client.SubscribeOptions
 
pendingMessageLimit(long) - Method in class io.nats.client.PushSubscribeOptions.Builder
Set the maximum number of messages that non-dispatched push subscriptions can hold in the internal (pending) message queue.
pendingMessageLimit - Variable in class io.nats.client.SubscribeOptions
 
ping() - Method in class io.nats.service.Discovery
 
ping(String) - Method in class io.nats.service.Discovery
 
ping(String, String) - Method in class io.nats.service.Discovery
 
pingDispatcher(Dispatcher) - Method in class io.nats.service.ServiceBuilder
 
pingInterval(Duration) - Method in class io.nats.client.Options.Builder
Set the interval between attempts to pings the server.
PingResponse - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
PingResponse(String, String, String) - Constructor for class io.nats.service.PingResponse
 
PingResponse(byte[]) - Constructor for class io.nats.service.PingResponse
 
placement(Placement) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets the placement directive object
placement(Placement) - Method in class io.nats.client.api.ObjectStoreConfiguration.Builder
Sets the placement directive object
Placement - Class in io.nats.client.api
Placement directives to consider when placing replicas of a stream
Placement(String, List<String>) - Constructor for class io.nats.client.api.Placement
Construct a placement object
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
 
Placement.Builder - Class in io.nats.client.api
Placement can be created using a Builder.
PORT - 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 - 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
 
PROCESSING_TIME - Static variable in interface io.nats.client.support.ApiConstants
 
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_IGNORE_DISCOVERED_SERVERS - Static variable in class io.nats.client.Options
Property used to set the whether to ignore discovered servers when connecting
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_SERVERS_LIST_PROVIDER_CLASS - Static variable in class io.nats.client.Options
Property used to set class name for ServerListProvider implementation serverListProvider.
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
Deprecated.
Plans are to remove allowing utf8mode This property is used to enable support for UTF8 subjects. See supportUTF8Subjcts()
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
 
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
This signature is public for testing purposes and is not intended to be used externally
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
Initiate pull with the specified batch size.
pull(PullRequestOptions) - Method in interface io.nats.client.JetStreamSubscription
Initiate pull with the specified request options ! Pull subscriptions 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
Initiate pull in noWait mode with the specified batch size.
pullNoWait(int, Duration) - Method in interface io.nats.client.JetStreamSubscription
Initiate pull in noWait mode with the specified batch size.
pullNoWait(int, long) - Method in interface io.nats.client.JetStreamSubscription
Initiate pull in noWait mode with the specified batch size.
PullRequestOptions - Class in io.nats.client
The PullRequestOptions class specifies the options for pull requests IMPORTANT! PullRequestOptions ARE CURRENTLY EXPERIMENTAL AND SUBJECT TO CHANGE.
PullRequestOptions(PullRequestOptions.Builder) - Constructor for class io.nats.client.PullRequestOptions
 
PullRequestOptions.Builder - Class in io.nats.client
 
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
PURGED - 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
 
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
put(ObjectMeta, InputStream) - Method in interface io.nats.client.ObjectStore
Place the contents of the input stream into a new object.
put(String, InputStream) - Method in interface io.nats.client.ObjectStore
Place the contents of the input stream into a new object.
put(String, byte[]) - Method in interface io.nats.client.ObjectStore
Place the bytes into a new object.
put(File) - Method in interface io.nats.client.ObjectStore
Place the contents of the file into a new object using the file name as the object name.
put(String, Object) - Method in class io.nats.client.support.JsonValueUtils.MapBuilder
 

R

RandomUtils - Class in io.nats.client.support
 
RATE_LIMIT_BPS - Static variable in interface io.nats.client.support.ApiConstants
 
rateLimit(Long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Set the rate limit of the ConsumerConfiguration or null to unset / clear.
rateLimit(long) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Set the rate limit of the ConsumerConfiguration.
rateLimit - Variable in class io.nats.client.api.ConsumerConfiguration
 
rateLimitWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
Gets whether rate limit for this consumer configuration was set or left unset
read(JsonValue, String, JsonValueUtils.JsonValueSupplier<T>) - Static method in class io.nats.client.support.JsonValueUtils
 
readArray(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readBase64(String, Pattern) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readBase64(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readBoolean(String, Pattern) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readBoolean(String, Pattern, Boolean) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readBoolean(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readBoolean(JsonValue, String, Boolean) - Static method in class io.nats.client.support.JsonValueUtils
 
readBytes(String, Pattern) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readBytes(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readDate(String, Pattern) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readDate(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
reader(int, int) - Method in interface io.nats.client.JetStreamSubscription
Prepares a reader.
readInt(String, Pattern, int) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readInt(String, Pattern, IntConsumer) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readInteger(String, Pattern) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readInteger(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readInteger(JsonValue, String, int) - Static method in class io.nats.client.support.JsonValueUtils
 
readLong(String, Pattern) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readLong(String, Pattern, long) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readLong(String, Pattern, LongConsumer) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readLong(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readLong(JsonValue, String, long) - Static method in class io.nats.client.support.JsonValueUtils
 
readLongList(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readNanos(String, Pattern) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readNanos(String, Pattern, Duration) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readNanos(String, Pattern, Consumer<Duration>) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readNanos(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readNanos(JsonValue, String, Duration) - Static method in class io.nats.client.support.JsonValueUtils
 
readNanosList(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readObject(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readOptionalStringList(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readString(String, Pattern) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readString(String, Pattern, String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readString(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readString(JsonValue, String, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readStringList(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readStringListIgnoreEmpty(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
readStringMayHaveQuotes(String, String, String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
readValue(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
reconnectBufferSize(long) - Method in class io.nats.client.Options.Builder
Set the maximum number of bytes to buffer in the client when trying to reconnect.
reconnectDelayHandler(ReconnectDelayHandler) - Method in class io.nats.client.Options.Builder
Set the ReconnectDelayHandler for custom reconnect duration
ReconnectDelayHandler - Interface in io.nats.client
Allows the developer to provide the duration of time to before reconnecting a second or more time through the servers list
reconnectJitter(Duration) - Method in class io.nats.client.Options.Builder
Set the jitter time to wait between reconnect attempts to the same server.
reconnectJitterTls(Duration) - Method in class io.nats.client.Options.Builder
Set the jitter time for a tls/secure connection to wait between reconnect attempts to the same server.
reconnectWait(Duration) - Method in class io.nats.client.Options.Builder
Set the time to wait between reconnect attempts to the same server.
removeObject(String, String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
REPLAY_POLICY - Static variable in interface io.nats.client.support.ApiConstants
 
replayPolicy(ReplayPolicy) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Sets the replay policy of the ConsumerConfiguration.
replayPolicy - Variable in class io.nats.client.api.ConsumerConfiguration
 
ReplayPolicy - Enum in io.nats.client.api
Represents the replay policy of a consumer.
replayPolicyWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
Gets whether replay policy for this consumer configuration was set or left unset
Replica - Class in io.nats.client.api
 
REPLICA - Static variable in interface io.nats.client.support.ApiConstants
 
replicas(int) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets the number of replicas a message must be stored on in the KeyValueConfiguration.
replicas(int) - Method in class io.nats.client.api.ObjectStoreConfiguration.Builder
Sets the number of replicas a message must be stored on in the ObjectStoreConfiguration.
replicas(int) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the number of replicas a message must be stored on in the StreamConfiguration.
REPLICAS - Static variable in interface io.nats.client.support.ApiConstants
 
republish(Republish) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets the Republish options
Republish - Class in io.nats.client.api
Republish directives to consider
Republish(String, String, boolean) - Constructor for class io.nats.client.api.Republish
Construct a 'republish' object
republish(Republish) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the republish directive object
REPUBLISH - Static variable in interface io.nats.client.support.ApiConstants
 
Republish.Builder - Class in io.nats.client.api
Placement can be created using a Builder.
request(String, byte[]) - Method in interface io.nats.client.Connection
Send a request.
request(Message) - Method in interface io.nats.client.Connection
Send a request.
request(String, byte[], Duration) - Method in interface io.nats.client.Connection
Send a request and returns the reply or null.
request(Message, Duration) - Method in interface io.nats.client.Connection
Send a request and returns the reply or null.
REQUEST - Static variable in interface io.nats.client.support.ApiConstants
 
requestCleanupInterval(Duration) - Method in class io.nats.client.Options.Builder
Set the interval between cleaning passes on outstanding request futures that are cancelled or timeout in the application code.
requestTimeout(Duration) - Method in class io.nats.client.JetStreamOptions.Builder
Sets the request timeout for JetStream API calls.
requestWithTimeout(String, byte[], Duration) - Method in interface io.nats.client.Connection
Send a request.
requestWithTimeout(Message, Duration) - Method in interface io.nats.client.Connection
Send a request.
required(String, String) - Static method in class io.nats.client.support.Validator
 
required(Object, String) - Static method in class io.nats.client.support.Validator
 
required(List<?>, String) - Static method in class io.nats.client.support.Validator
 
required(Map<?, ?>, String) - Static method in class io.nats.client.support.Validator
 
reset() - Method in class io.nats.client.support.Digester
 
reset(String) - Method in class io.nats.client.support.Digester
 
reset(byte[]) - Method in class io.nats.client.support.Digester
 
reset(byte[], int, int) - Method in class io.nats.client.support.Digester
 
reset() - Method in class io.nats.service.Service
 
respond(Connection, byte[]) - Method in class io.nats.service.ServiceMessage
 
respond(Connection, String) - Method in class io.nats.service.ServiceMessage
 
respond(Connection, JsonSerializable) - Method in class io.nats.service.ServiceMessage
 
respond(Connection, byte[], Headers) - Method in class io.nats.service.ServiceMessage
 
respond(Connection, String, Headers) - Method in class io.nats.service.ServiceMessage
 
respond(Connection, JsonSerializable, Headers) - Method in class io.nats.service.ServiceMessage
 
respondStandardError(Connection, String, int) - Method in class io.nats.service.ServiceMessage
 
RESPONSE - Static variable in interface io.nats.client.support.ApiConstants
 
RETENTION - Static variable in interface io.nats.client.support.ApiConstants
 
RetentionPolicy - Enum in io.nats.client.api
Stream retention policies.
retentionPolicy(RetentionPolicy) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the retention policy in the StreamConfiguration.
RFC3339_FORMATTER - Static variable in class io.nats.client.support.DateTimeUtils
 
ROLLUP_HDR - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
ROLLUP_HDR_ALL - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
ROLLUP_HDR_SUBJECT - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
RTT() - Method in interface io.nats.client.Connection
Calculates the round trip time between this client and the server.

S

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
 
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
 
sc - Variable in class io.nats.client.api.FeatureConfiguration
 
SCHEMA - Static variable in interface io.nats.client.support.ApiConstants
 
schema() - Method in class io.nats.service.Discovery
 
schema(String) - Method in class io.nats.service.Discovery
 
schema(String, String) - Method in class io.nats.service.Discovery
 
schema(Schema) - Method in class io.nats.service.Endpoint.Builder
 
Schema - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
Schema(String, String) - Constructor for class io.nats.service.Schema
 
Schema(JsonValue) - Constructor for class io.nats.service.Schema
 
schemaDispatcher(Dispatcher) - Method in class io.nats.service.ServiceBuilder
 
schemaRequest(String) - Method in class io.nats.service.Endpoint.Builder
 
schemaResponse(String) - Method in class io.nats.service.Endpoint.Builder
 
SchemaResponse - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
SchemaResponse(String, String, String, String, List<EndpointResponse>) - Constructor for class io.nats.service.SchemaResponse
 
SchemaResponse(byte[]) - Constructor for class io.nats.service.SchemaResponse
 
seal() - Method in class io.nats.client.api.StreamConfiguration.Builder
Set this stream to be sealed.
seal() - Method in interface io.nats.client.ObjectStore
Close (seal) the bucket to changes.
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
 
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
 
sequence(long) - Method in class io.nats.client.PurgeOptions.Builder
Set upper-bound sequence for messages to be deleted
SequenceInfo - Class in io.nats.client.api
This class holds the sequence numbers for a consumer and stream and .
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_NAME - 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
 
serverListProvider(ServerListProvider) - Method in class io.nats.client.Options.Builder
Set the ServerListProvider implementation for connections to use instead of the default bahvior IMPORTANT! ServerListProvider IS CURRENTLY EXPERIMENTAL AND SUBJECT TO CHANGE.
ServerListProvider - Interface in io.nats.client
Allows the developer to provide the list of servers to try for connecting/reconnecting IMPORTANT! ServerListProvider IS CURRENTLY EXPERIMENTAL AND SUBJECT TO CHANGE.
servers(String[]) - Method in class io.nats.client.Options.Builder
Add an array of servers to the list of known servers.
Service - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
ServiceBuilder - Class in io.nats.service
 
ServiceBuilder() - Constructor for class io.nats.service.ServiceBuilder
 
ServiceEndpoint - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
ServiceEndpoint.Builder - Class in io.nats.service
 
ServiceMessage - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
ServiceMessageHandler - Interface in io.nats.service
 
ServiceResponse - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
ServiceResponse(String, String, String, String) - Constructor for class io.nats.service.ServiceResponse
 
ServiceResponse(String, ServiceResponse) - Constructor for class io.nats.service.ServiceResponse
 
ServiceResponse(String, JsonValue) - Constructor for class io.nats.service.ServiceResponse
 
setAllocationSize(int) - Method in class io.nats.client.support.ByteArrayBuilder
Change the allocation size
setAllocationSize(int) - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
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
Deprecated.
simpleMessageBody(String, String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
size(long) - Method in class io.nats.client.api.ObjectInfo.Builder
 
SIZE - Static variable in interface io.nats.client.support.ApiConstants
 
slowConsumerDetected(Connection, Consumer) - Method in interface io.nats.client.ErrorListener
Called by the connection when a "slow" consumer is detected.
source(String) - Method in class io.nats.client.api.Republish.Builder
Set the Published Subject-matching filter
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.KeyValueConfiguration.Builder
Sets the sources in the KeyValueConfiguration.
sources(Collection<Source>) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets the sources in the KeyValueConfiguration
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
Add the sources into 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
 
SRC - Static variable in interface io.nats.client.support.ApiConstants
 
SRV_INFO - Static variable in class io.nats.service.Service
 
SRV_PING - Static variable in class io.nats.service.Service
 
SRV_SCHEMA - Static variable in class io.nats.service.Service
 
SRV_STATS - Static variable in class io.nats.service.Service
 
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
 
STANDARD_MIN - Static variable in class io.nats.client.api.ConsumerConfiguration
 
STARTED - Static variable in interface io.nats.client.support.ApiConstants
 
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
startService() - Method in class io.nats.service.Service
 
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(byte[]) - Static method in class io.nats.client.Nats
Create an auth handler from the data found in a credsFile.
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
Connections can provide an instance of Statistics, getStatistics().
STATS - Static variable in interface io.nats.client.support.ApiConstants
 
stats() - Method in class io.nats.service.Discovery
 
stats(String) - Method in class io.nats.service.Discovery
 
stats(String, String) - Method in class io.nats.service.Discovery
 
statsDataSupplier(Supplier<JsonValue>) - Method in class io.nats.service.ServiceEndpoint.Builder
 
statsDispatcher(Dispatcher) - Method in class io.nats.service.ServiceBuilder
 
StatsResponse - Class in io.nats.service
SERVICE IS AN EXPERIMENTAL API SUBJECT TO CHANGE
StatsResponse(ServiceResponse, ZonedDateTime, List<EndpointResponse>) - Constructor for class io.nats.service.StatsResponse
 
StatsResponse(byte[]) - Constructor for class io.nats.service.StatsResponse
 
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
 
stop() - Method in interface io.nats.client.JetStreamReader
 
stop() - Method in class io.nats.service.Service
 
stop(Throwable) - Method in class io.nats.service.Service
 
stop(boolean) - Method in class io.nats.service.Service
 
stop(boolean, Throwable) - Method in class io.nats.service.Service
 
STORAGE - Static variable in interface io.nats.client.support.ApiConstants
 
STORAGE_MAX_STREAM_BYTES - 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(StorageType) - Method in class io.nats.client.api.ObjectStoreConfiguration.Builder
Sets the storage type in the ObjectStoreConfiguration.
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_SEQ - 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(JsonValue) - 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
 
streamSeq - Variable in class io.nats.client.api.SequencePair
 
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 - Variable in class io.nats.client.support.JsonValue
 
string_array_pattern(String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
string_pattern(String) - Static method in class io.nats.client.support.JsonUtils
Deprecated.
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(String) - Method in class io.nats.service.Endpoint.Builder
 
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, long, long) - 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.
subToJson(StringBuilder) - Method in class io.nats.service.InfoResponse
 
subToJson(StringBuilder) - Method in class io.nats.service.SchemaResponse
 
subToJson(StringBuilder) - Method in class io.nats.service.ServiceResponse
 
subToJson(StringBuilder) - Method in class io.nats.service.StatsResponse
 
SUCCESS - 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
Deprecated.
Plans are to remove allowing utf8mode
supportUTF8Subjects() - Method in class io.nats.client.Options
Deprecated.
Plans are to remove allowing utf8mode

T

TAB - Static variable in interface io.nats.client.support.NatsConstants
 
tags(String...) - Method in class io.nats.client.api.Placement.Builder
Set the tags
tags(List<String>) - Method in class io.nats.client.api.Placement.Builder
Set the tags
TAGS - Static variable in interface io.nats.client.support.ApiConstants
 
TEMPLATE_OWNER - Static variable in interface io.nats.client.support.ApiConstants
 
templateOwner(String) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the template a stream in the form of raw JSON.
term() - Method in interface io.nats.client.Message
term prevents this message from every being delivered regardless of maxDeliverCount.
term() - Method in class io.nats.service.ServiceMessage
 
throwOnHasError() - Method in class io.nats.client.api.ApiResponse
 
TIERS - Static variable in interface io.nats.client.support.ApiConstants
 
TIME - Static variable in interface io.nats.client.support.ApiConstants
 
TLS - Static variable in interface io.nats.client.support.ApiConstants
 
TLS_PROTOCOL - Static variable in interface io.nats.client.support.NatsConstants
 
toBase64Url(byte[]) - Static method in class io.nats.client.support.Encoding
 
toBase64Url(String) - Static method in class io.nats.client.support.Encoding
 
toByteArray() - Method in class io.nats.client.support.BuilderBase
Copy the value in the buffer to a new byte array
toByteArray() - Method in class io.nats.client.support.ByteArrayBuilder
Copy the value in the buffer to a new byte array
toByteArray() - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
Copy the value in the buffer to a new byte array
toChunkPrefix(String) - Static method in class io.nats.client.support.NatsObjectStoreUtil
 
toChunkStreamSubject(String) - Static method in class io.nats.client.support.NatsObjectStoreUtil
 
toGmt(ZonedDateTime) - Static method in class io.nats.client.support.DateTimeUtils
 
toJson() - Method in class io.nats.client.api.ConsumerConfiguration
Returns a JSON representation of this consumer configuration.
toJson() - Method in class io.nats.client.api.Error
 
toJson() - Method in class io.nats.client.api.External
Returns a JSON representation of this mirror
toJson() - Method in class io.nats.client.api.MessageDeleteRequest
 
toJson() - Method in class io.nats.client.api.ObjectInfo
 
toJson() - Method in class io.nats.client.api.ObjectLink
 
toJson() - Method in class io.nats.client.api.ObjectMeta
 
toJson() - Method in class io.nats.client.api.ObjectMetaOptions
 
toJson() - Method in class io.nats.client.api.Placement
 
toJson() - Method in class io.nats.client.api.Republish
 
toJson() - Method in class io.nats.client.api.StreamConfiguration
Returns a JSON representation of this consumer configuration.
toJson() - Method in class io.nats.client.api.StreamInfoOptions
 
toJson() - Method in class io.nats.client.PullRequestOptions
 
toJson() - Method in class io.nats.client.PurgeOptions
 
toJson() - Method in interface io.nats.client.support.JsonSerializable
 
toJson() - Method in class io.nats.client.support.JsonValue
 
toJson() - Method in class io.nats.service.Endpoint
 
toJson() - Method in class io.nats.service.EndpointResponse
 
toJson() - Method in class io.nats.service.Schema
 
toJson() - Method in class io.nats.service.ServiceResponse
 
toJsonValue() - Method in class io.nats.client.api.Error
 
toJsonValue() - Method in interface io.nats.client.support.JsonSerializable
 
toJsonValue(Object) - Static method in class io.nats.client.support.JsonValueUtils
 
token(String) - Method in class io.nats.client.Options.Builder
Deprecated.
use the char[] version instead for better security
token(char[]) - Method in class io.nats.client.Options.Builder
Set the token for token-based authentication.
Token - Class in io.nats.client.support
 
Token(byte[], int, Token, TokenType) - Constructor for class io.nats.client.support.Token
 
Token(byte[], int, int, TokenType) - Constructor for class io.nats.client.support.Token
 
TokenType - Enum in io.nats.client.support
 
toKey(Class<?>) - Static method in class io.nats.client.support.JsonUtils
 
toKeyPrefix(String) - Static method in class io.nats.client.support.NatsKeyValueUtil
 
toMetaPrefix(String) - Static method in class io.nats.client.support.NatsObjectStoreUtil
 
toMetaStreamSubject(String) - Static method in class io.nats.client.support.NatsObjectStoreUtil
 
toRfc3339(ZonedDateTime) - Static method in class io.nats.client.support.DateTimeUtils
 
toStreamName(String) - Static method in class io.nats.client.support.NatsKeyValueUtil
 
toStreamName(String) - Static method in class io.nats.client.support.NatsObjectStoreUtil
 
toStreamSubject(String) - Static method in class io.nats.client.support.NatsKeyValueUtil
 
toString() - Method in enum io.nats.client.api.AckPolicy
 
toString() - Method in class io.nats.client.api.ApiResponse
 
toString() - Method in class io.nats.client.api.ClusterInfo
 
toString() - Method in class io.nats.client.api.ConsumerConfiguration
 
toString() - Method in enum io.nats.client.api.DeliverPolicy
 
toString() - Method in enum io.nats.client.api.DiscardPolicy
 
toString() - Method in class io.nats.client.api.Error
 
toString() - Method in class io.nats.client.api.External
 
toString() - Method in class io.nats.client.api.KeyValueConfiguration
 
toString() - Method in class io.nats.client.api.KeyValueEntry
 
toString() - Method in class io.nats.client.api.KeyValueStatus
 
toString() - Method in class io.nats.client.api.LostStreamData
 
toString() - Method in class io.nats.client.api.MessageInfo
 
toString() - Method in class io.nats.client.api.MirrorInfo
 
toString() - Method in class io.nats.client.api.ObjectInfo
 
toString() - Method in class io.nats.client.api.ObjectLink
 
toString() - Method in class io.nats.client.api.ObjectMeta
 
toString() - Method in class io.nats.client.api.ObjectMetaOptions
 
toString() - Method in class io.nats.client.api.ObjectStoreConfiguration
 
toString() - Method in class io.nats.client.api.ObjectStoreStatus
 
toString() - Method in class io.nats.client.api.Placement
 
toString() - Method in enum io.nats.client.api.ReplayPolicy
 
toString() - Method in class io.nats.client.api.Replica
 
toString() - Method in enum io.nats.client.api.RetentionPolicy
 
toString() - Method in class io.nats.client.api.SequenceInfo
 
toString() - Method in class io.nats.client.api.ServerInfo
 
toString() - Method in enum io.nats.client.api.StorageType
 
toString() - Method in class io.nats.client.api.StreamConfiguration
 
toString() - Method in class io.nats.client.api.StreamState
 
toString() - Method in class io.nats.client.api.Subject
 
toString() - Method in enum io.nats.client.ConnectionListener.Events
 
toString() - Method in class io.nats.client.SubscribeOptions
 
toString() - Method in class io.nats.client.support.ByteArrayBuilder
 
toString() - Method in class io.nats.client.support.ByteArrayPrimitiveBuilder
 
toString(Class<?>) - Method in class io.nats.client.support.JsonValue
 
toString(String) - Method in class io.nats.client.support.JsonValue
 
toString() - Method in class io.nats.client.support.JsonValue
 
toString() - Method in class io.nats.client.support.Status
 
toString() - Method in class io.nats.service.Endpoint
 
toString() - Method in class io.nats.service.EndpointResponse
 
toString() - Method in class io.nats.service.Group
 
toString() - Method in class io.nats.service.Schema
 
toString() - Method in class io.nats.service.Service
 
toString() - Method in class io.nats.service.ServiceResponse
 
TOTAL - Static variable in interface io.nats.client.support.ApiConstants
 
traceConnection() - Method in class io.nats.client.Options.Builder
Enable connection trace messages.
trimPrefix(String) - Static method in class io.nats.client.support.NatsKeyValueUtil
 
TRUE - Static variable in class io.nats.client.support.JsonValue
 
ttl(Duration) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets the maximum age for a value in this KeyValueConfiguration.
ttl(Duration) - Method in class io.nats.client.api.ObjectStoreConfiguration.Builder
Sets the maximum age for a value in this ObjectStoreConfiguration.
turnOnAdvancedStats() - Method in class io.nats.client.Options.Builder
Turn on advanced stats, primarily for test/benchmarks.
TYPE - Static variable in interface io.nats.client.support.ApiConstants
 
type - Variable in class io.nats.client.support.JsonValue
 
TYPE - Static variable in class io.nats.service.InfoResponse
 
TYPE - Static variable in class io.nats.service.PingResponse
 
TYPE - Static variable in class io.nats.service.SchemaResponse
 
type - Variable in class io.nats.service.ServiceResponse
 
TYPE - Static variable in class io.nats.service.StatsResponse
 

U

ULONG_UNSET - Static variable in class io.nats.client.api.ConsumerConfiguration
 
unhandledStatus(Connection, JetStreamSubscription, Status) - Method in interface io.nats.client.ErrorListener
Called by the connection when an unhandled status is received.
UNKNOWN_OP - Static variable in interface io.nats.client.support.NatsConstants
 
UNSET_LAST_SEQUENCE - Static variable in class io.nats.client.PublishOptions
Use this variable to unset a sequence number in publish options.
UNSET_STREAM - Static variable in class io.nats.client.PublishOptions
Use this variable to unset a stream in publish options.
UNSUB_SP_BYTES - Static variable in interface io.nats.client.support.NatsConstants
 
unsubscribe(String) - Method in interface io.nats.client.Dispatcher
Unsubscribe from the specified subject, the queue is implicit.
unsubscribe(Subscription) - Method in interface io.nats.client.Dispatcher
Unsubscribe from the specified Subscription.
unsubscribe(String, int) - Method in interface io.nats.client.Dispatcher
Unsubscribe from the specified subject, the queue is implicit, after the specified number of messages.
unsubscribe(Subscription, int) - Method in interface io.nats.client.Dispatcher
Unsubscribe from the specified subject, the queue is implicit, after the specified number of messages.
unsubscribe() - Method in interface io.nats.client.Subscription
Unsubscribe this subscription and stop listening for messages.
unsubscribe(int) - Method in interface io.nats.client.Subscription
Unsubscribe this subscription and stop listening for messages, after the specified number of messages.
update(String, byte[], long) - Method in interface io.nats.client.KeyValue
Put as the value for a key iff the key exists and its last revision matches the expected
update(String, String, long) - Method in interface io.nats.client.KeyValue
Put a string as the value for a key iff the key exists and its last revision matches the expected
update(KeyValueConfiguration) - Method in interface io.nats.client.KeyValueManagement
Update a key value store configuration.
update(String) - Method in class io.nats.client.support.Digester
 
update(byte[]) - Method in class io.nats.client.support.Digester
 
update(byte[], int, int) - Method in class io.nats.client.support.Digester
 
updateMeta(String, ObjectMeta) - Method in interface io.nats.client.ObjectStore
Update the metadata of name, description or headers.
updateStream(StreamConfiguration) - Method in interface io.nats.client.JetStreamManagement
Updates an existing stream.
uriDecode(String) - Static method in class io.nats.client.support.Encoding
 
userInfo(String, String) - Method in class io.nats.client.Options.Builder
Set the username and password for basic authentication.
userInfo(char[], char[]) - Method in class io.nats.client.Options.Builder
Set the username and password for basic authentication.

V

validateBucketName(String, boolean) - Static method in class io.nats.client.support.Validator
 
validateConsumerName(String, boolean) - Static method in class io.nats.client.support.Validator
 
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
 
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
 
validateGtZero(int, String) - Static method in class io.nats.client.support.Validator
 
validateGtZeroOrMinus1(long, String) - Static method in class io.nats.client.support.Validator
 
validateIsRestrictedTerm(String, String, boolean) - 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(String, 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
 
validatePrintableExceptWildDotGtSlashes(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
 
validateQueueName(String, boolean) - Static method in class io.nats.client.support.Validator
 
validateReplyTo(String, boolean) - Static method in class io.nats.client.support.Validator
 
validateSemVer(String, 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
 
validateSubject(String, String, boolean, 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.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.ObjectStoreWatchOption
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
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.nats.client.support.JsonValue.Type
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.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.ObjectStoreWatchOption
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
Deprecated.
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.JsonValue.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.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(String) - Method in class io.nats.service.ServiceBuilder
 
version - Variable in class io.nats.service.ServiceResponse
 

W

wasCancelledClosing() - Method in class io.nats.client.support.NatsRequestCompletableFuture
 
wasCancelledTimedOut() - Method in class io.nats.client.support.NatsRequestCompletableFuture
 
watch(T) - Method in interface io.nats.client.api.Watcher
Called when an object has been updated
watch(String, KeyValueWatcher, KeyValueWatchOption...) - Method in interface io.nats.client.KeyValue
Watch updates for a specific key.
watch(ObjectStoreWatcher, ObjectStoreWatchOption...) - Method in interface io.nats.client.ObjectStore
Create a watch on the store (bucket).
watchAll(KeyValueWatcher, KeyValueWatchOption...) - Method in interface io.nats.client.KeyValue
Watch updates for all keys.
Watcher<T> - Interface in io.nats.client.api
Use the Watcher interface to watch for updates

Z

zeroOrLtMinus1(long) - Static method in class io.nats.client.support.Validator
 
ZONE_ID_GMT - Static variable in class io.nats.client.support.DateTimeUtils
 

_

_addList(StringBuilder, String, List<T>, JsonUtils.ListAdder<T>) - Static method in class io.nats.client.support.JsonUtils
Appends a json field to a string builder.
_setAllocationSize(int) - Method in class io.nats.client.support.BuilderBase
 
_validate(String, boolean, String, Validator.Check) - Static method in class io.nats.client.support.Validator
 
A B C D E F G H I J K L M N O P R S T U V W Z _ 
Skip navigation links