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

A

acceptDiscoveredUrls(List<String>) - Method in interface io.nats.client.ServerPool
When the connection received discovered servers (ServerInfo.getConnectURLs) it passes them on to the provider for later use
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_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.
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.
ACTION - Static variable in interface io.nats.client.support.ApiConstants
 
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).
addConnectionListener(ConnectionListener) - Method in interface io.nats.client.Connection
Attach another ConnectionListener.
addDurations(StringBuilder, String, List<Duration>) - Static method in class io.nats.client.support.JsonUtils
Appends a json field to a string builder.
addEnumWhenNot(StringBuilder, String, Enum, Enum) - Static method in class io.nats.client.support.JsonUtils
 
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, Map<String, String>) - Static method in class io.nats.client.support.JsonUtils
 
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.
addFieldWhenGreaterThan(StringBuilder, String, Long, long) - Static method in class io.nats.client.support.JsonUtils
Appends a json field to a string builder.
addFieldWhenGteMinusOne(StringBuilder, String, Long) - 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
Add a service endpoint into the service.
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 - Variable in class io.nats.client.support.JwtUtils.Permission
 
allow(String...) - Method in class io.nats.client.support.JwtUtils.Permission
 
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
allowedConnectionTypes - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
allowedConnectionTypes(String...) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
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
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
append(StringBuilder, T) - Method in interface io.nats.client.support.JsonUtils.ListAdder
 
appendGroup(Group) - Method in class io.nats.service.Group
Append a group at the end of the list of groups this group starts or is a part of.
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.
available() - Method in class io.nats.client.support.WebsocketInputStream
 
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
 
backoffWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
Gets whether backoff for this consumer configuration was set or left unset
BAD_REQUEST - Static variable in class io.nats.client.support.Status
 
BAD_REQUEST_CODE - Static variable in class io.nats.client.support.Status
 
base32Decode(char[]) - Static method in class io.nats.client.support.Encoding
 
base32Encode(byte[]) - Static method in class io.nats.client.support.Encoding
 
base64BasicDecode(byte[]) - Static method in class io.nats.client.support.Encoding
base64 decode a byte array
base64BasicDecode(String) - Static method in class io.nats.client.support.Encoding
base64 decode a base64 encoded string
base64BasicDecodeToString(String) - Static method in class io.nats.client.support.Encoding
base64 decode a base64 encoded string
base64BasicEncode(byte[]) - Static method in class io.nats.client.support.Encoding
base64 encode a byte array to a byte array
base64BasicEncodeToString(byte[]) - Static method in class io.nats.client.support.Encoding
base64 encode a byte array to a byte array
base64BasicEncodeToString(String) - Static method in class io.nats.client.support.Encoding
base64 url encode a byte array to a byte array
base64Encode(byte[]) - Static method in class io.nats.client.support.Encoding
Deprecated.
Use Encoding.base64UrlEncode(byte[]) instead. base64 url encode a byte array to a byte array
base64UrlDecode(byte[]) - Static method in class io.nats.client.support.Encoding
base64 url decode a byte array
base64UrlDecode(String) - Static method in class io.nats.client.support.Encoding
base64 url decode a base64 url encoded string
base64UrlDecodeToString(String) - Static method in class io.nats.client.support.Encoding
base64 url decode a base64 url encoded string
base64UrlEncode(byte[]) - Static method in class io.nats.client.support.Encoding
base64 url encode a byte array to a byte array
base64UrlEncodeToString(byte[]) - Static method in class io.nats.client.support.Encoding
base64 url encode a byte array to a byte array
base64UrlEncodeToString(String) - Static method in class io.nats.client.support.Encoding
base64 url encode a byte array to a byte array
BaseConsumeOptions - Class in io.nats.client
Base Consume Options are provided to customize the way the consume and fetch operate.
BaseConsumeOptions(BaseConsumeOptions.Builder) - Constructor for class io.nats.client.BaseConsumeOptions
 
BaseConsumeOptions.Builder<B,CO> - Class in io.nats.client
 
BaseConsumerContext - Interface in io.nats.client
The Consumer Context provides a convenient interface around a defined JetStream Consumer
BaseMessageConsumer - Interface in io.nats.client
The BaseMessageConsumer interface is the core interface replacing a subscription for a simplified consumer.
BATCH - Static variable in interface io.nats.client.support.ApiConstants
 
BATCH_COMPLETED - Static variable in class io.nats.client.support.Status
 
batchBytes(long) - Method in class io.nats.client.ConsumeOptions.Builder
Set the initial batch size in bytes and remove any previously set batch message constraint.
batchSize(int) - Method in class io.nats.client.ConsumeOptions.Builder
Set the initial batch size in messages and remove any previously set ConsumeOptions.Builder.batchBytes(long) constraint.
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
 
bearerToken - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
bearerToken(boolean) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
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 for binding to a specific stream and consumer by name.
bind(String) - Static method in class io.nats.client.PushSubscribeOptions
Deprecated.
This method resolves to PushSubscribeOptions.stream(String) as bind has a different meaning and requires both stream and consumer name
bind(String, String) - Static method in class io.nats.client.PushSubscribeOptions
Create PushSubscribeOptions for binding to a specific stream and consumer by name.
bind - Variable in class io.nats.client.SubscribeOptions
 
bind - Variable in class io.nats.client.SubscribeOptions.Builder
 
bind(boolean) - Method in class io.nats.client.SubscribeOptions.Builder
Specify binding to an existing consumer via name.
bind(SocketAddress) - Method in class io.nats.client.support.WebSocket
 
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.ConsumerLimits.Builder
Build a ConsumerLimits object
build() - Method in class io.nats.client.api.External.Builder
Build an External object
build() - Method in class io.nats.client.api.FeatureConfiguration.Builder
Builds the feature options.
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.api.SubjectTransform.Builder
Build a Placement object
build() - Method in class io.nats.client.BaseConsumeOptions.Builder
Build the options.
build() - Method in class io.nats.client.ConsumeOptions.Builder
Build the ConsumeOptions.
build() - Method in class io.nats.client.FeatureOptions.Builder
Builds the Feature options.
build() - Method in class io.nats.client.FetchConsumeOptions.Builder
Build the FetchConsumeOptions.
build() - Method in class io.nats.client.ForceReconnectOptions.Builder
Builds the ForceReconnectOptions.
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 the Endpoint instance.
build() - Method in class io.nats.service.ServiceBuilder
Build the Service instance.
build() - Method in class io.nats.service.ServiceEndpoint.Builder
Build the ServiceEndpoint instance.
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
Construct the builder
Builder(ConsumerConfiguration) - Constructor for class io.nats.client.api.ConsumerConfiguration.Builder
Construct the builder and initialize values with the existing ConsumerConfiguration
builder() - Static method in class io.nats.client.api.ConsumerLimits
Creates a builder for a consumer limits object.
Builder() - Constructor for class io.nats.client.api.ConsumerLimits.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() - Constructor for class io.nats.client.api.FeatureConfiguration.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() - Static method in class io.nats.client.api.SubjectTransform
Creates a builder for a placements object.
Builder() - Constructor for class io.nats.client.api.SubjectTransform.Builder
 
Builder() - Constructor for class io.nats.client.BaseConsumeOptions.Builder
 
builder() - Static method in class io.nats.client.ConsumeOptions
 
Builder() - Constructor for class io.nats.client.ConsumeOptions.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.FetchConsumeOptions
 
Builder() - Constructor for class io.nats.client.FetchConsumeOptions.Builder
 
builder() - Static method in class io.nats.client.ForceReconnectOptions
Creates a builder for the options.
Builder() - Constructor for class io.nats.client.ForceReconnectOptions.Builder
Constructs a new Builder with the default values.
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(String) - Constructor for class io.nats.client.Options.Builder
Constructs a new Builder from a file that contains properties.
Builder(Options) - Constructor for class io.nats.client.Options.Builder
 
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
Get an instance of an Endpoint builder.
Builder() - Constructor for class io.nats.service.Endpoint.Builder
Construct the builder
builder() - Static method in class io.nats.service.Service
Get an instance of a ServiceBuilder.
builder() - Static method in class io.nats.service.ServiceEndpoint
Get an instance of a ServiceEndpoint Builder.
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 the connect message.
buildPullSubscribeOptions() - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Builds the PullSubscribeOptions with this configuration
buildPullSubscribeOptions(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Builds the PullSubscribeOptions with this configuration Providing the stream is a hint for the subscription process that saves a call to the server.
buildPushSubscribeOptions() - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Builds the PushSubscribeOptions with this configuration
buildPushSubscribeOptions(String) - 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 - Variable in class io.nats.client.BaseConsumeOptions.Builder
 
bytes(long) - Method in class io.nats.client.BaseConsumeOptions.Builder
 
bytes - Variable in class io.nats.client.BaseConsumeOptions
 
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
cc - Variable in class io.nats.client.SubscribeOptions.Builder
 
checkClientTrusted(X509Certificate[], String) - Method in interface io.nats.client.support.SSLUtils.TrustManagerDelegate
 
checkServerTrusted(X509Certificate[], String) - Method in interface io.nats.client.support.SSLUtils.TrustManagerDelegate
 
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
 
close() - Method in class io.nats.client.support.WebSocket
 
close() - Method in class io.nats.client.support.WebsocketInputStream
 
close() - Method in class io.nats.client.support.WebsocketOutputStream
 
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
 
compareTo(ServerVersion) - Method in class io.nats.client.support.ServerVersion
 
compression(boolean) - Method in class io.nats.client.api.FeatureConfiguration.Builder
Sets whether to use compression for the configuration.
compression(boolean) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets whether to use compression for the KeyValueConfiguration.
compression(boolean) - Method in class io.nats.client.api.ObjectStoreConfiguration.Builder
Sets whether to use compression for the ObjectStoreConfiguration.
COMPRESSION - Static variable in interface io.nats.client.support.ApiConstants
 
CompressionOption - Enum in io.nats.client.api
Stream compression policies.
compressionOption(CompressionOption) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the compression option in the StreamConfiguration.
CONFIG - Static variable in interface io.nats.client.support.ApiConstants
 
configuration(ConsumerConfiguration) - Method in class io.nats.client.SubscribeOptions.Builder
The consumer configuration.
CONFLICT_CODE - Static variable in class io.nats.client.support.Status
 
connect() - Static method in class io.nats.client.Nats
Connect to the default URL, Options.DEFAULT_URL, with all the default options.
connect(String) - Static method in class io.nats.client.Nats
Connect to specific url, with all the default options.
connect(String, AuthHandler) - Static method in class io.nats.client.Nats
Connect to the specified URL with the specified auth handler.
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(SocketAddress) - Method in class io.nats.client.support.WebSocket
 
connect(SocketAddress, int) - Method in class io.nats.client.support.WebSocket
 
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.
connectFailed(NatsUri) - Method in interface io.nats.client.ServerPool
Indicate that the connection to this NatsUri failed.
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
The connection the service runs on
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.
connectionTimeout(long) - Method in class io.nats.client.Options.Builder
Set the timeout for connection attempts.
connectReconnectOnConnect() - Static method in class io.nats.client.Nats
Connect to the default URL, Options.DEFAULT_URL, with all the default options, allowing re-connect attempts if the initial connection fails
connectReconnectOnConnect(String) - Static method in class io.nats.client.Nats
Connect to specific url, with all the default options, allowing re-connect attempts if the initial connection fails
connectReconnectOnConnect(String, AuthHandler) - Static method in class io.nats.client.Nats
Connect to the specified URL with the specified auth handler, allowing re-connect attempts if the initial connection fails
connectReconnectOnConnect(Options) - Static method in class io.nats.client.Nats
Connect, allowing re-connect attempts if the initial connection fails
connectSucceeded(NatsUri) - Method in interface io.nats.client.ServerPool
Indicate that the connection to this NatsUri succeeded.
consume(MessageHandler) - Method in interface io.nats.client.BaseConsumerContext
Start a long-running MessageConsumer with default ConsumeOptions.
consume(Dispatcher, MessageHandler) - Method in interface io.nats.client.BaseConsumerContext
Start a long-running MessageConsumer with default ConsumeOptions.
consume(ConsumeOptions, MessageHandler) - Method in interface io.nats.client.BaseConsumerContext
Start a long-running MessageConsumer with custom ConsumeOptions.
consume(ConsumeOptions, Dispatcher, MessageHandler) - Method in interface io.nats.client.BaseConsumerContext
Start a long-running MessageConsumer with custom ConsumeOptions.
consumeByteCount() - Method in interface io.nats.client.Message
The number of bytes the server counts for the message when calculating byte counts.
consumeKeys() - Method in interface io.nats.client.KeyValue
Get a list of keys in the bucket through a LinkedBlockingQueue.
consumeKeys(String) - Method in interface io.nats.client.KeyValue
Get a list of keys in the bucket through a LinkedBlockingQueue filtered by a subject-like string, for instance "key" or "key.foo.*" or "key.>" A KeyResult with isDone being true or an exception signifies there are no more keys
consumeKeys(List<String>) - Method in interface io.nats.client.KeyValue
Get a list of keys in the bucket through a LinkedBlockingQueue filtered by subject-like strings, for instance "aaa.*", "bbb.*;" A KeyResult with isDone being true or an exception signifies there are no more keys
ConsumeOptions - Class in io.nats.client
Consume Options are provided to customize the consume operation.
ConsumeOptions.Builder - Class in io.nats.client
 
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_DELETED - Static variable in class io.nats.client.support.Status
 
CONSUMER_IS_PUSH_BASED - Static variable in class io.nats.client.support.Status
 
CONSUMER_LIMITS - 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(ConsumerConfiguration.Builder) - Constructor for class io.nats.client.api.ConsumerConfiguration
 
ConsumerConfiguration.Builder - Class in io.nats.client.api
ConsumerConfiguration is created using a Builder.
ConsumerContext - Interface in io.nats.client
The Consumer Context provides a convenient interface around a defined JetStream Consumer
consumerFilterSubjectsAreEquivalent(List<T>, List<T>) - Static method in class io.nats.client.support.Validator
 
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
 
ConsumerLimits - Class in io.nats.client.api
ConsumerLimits
consumerLimits(ConsumerLimits) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the consumerLimits config object
ConsumerLimits.Builder - Class in io.nats.client.api
ConsumerLimits can be created using a Builder.
ConsumerPauseRequest - Class in io.nats.client.api
Object used to make a request to pause a consumer.
ConsumerPauseRequest(ZonedDateTime) - Constructor for class io.nats.client.api.ConsumerPauseRequest
 
ConsumerPauseResponse - Class in io.nats.client.api
 
ConsumerPauseResponse(Message) - Constructor for class io.nats.client.api.ConsumerPauseResponse
 
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.
createConsumer(String, ConsumerConfiguration) - Method in interface io.nats.client.JetStreamManagement
Creates a consumer.
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
 
createKeyManagers(String, char[]) - Static method in class io.nats.client.support.SSLUtils
 
createKeyManagers(String, char[], String) - Static method in class io.nats.client.support.SSLUtils
 
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.
createOrderedConsumer(OrderedConsumerConfiguration) - Method in interface io.nats.client.StreamContext
Create an ordered consumer context for the context's stream.
createOrUpdateConsumer(ConsumerConfiguration) - Method in interface io.nats.client.StreamContext
Management function to create or update a consumer on this stream.
createServer(SecureRandom) - Static method in class io.nats.client.NKey
Create a Server NKey from the provided random number generator.
createSSLContext(String, char[], String, char[]) - Static method in class io.nats.client.support.SSLUtils
 
createSSLContext(String, char[], String, char[], String) - Static method in class io.nats.client.support.SSLUtils
 
createTrustAllTlsContext() - Static method in class io.nats.client.support.SSLUtils
 
createTrustManagers(String, char[]) - Static method in class io.nats.client.support.SSLUtils
 
createTrustManagers(String, char[], String) - Static method in class io.nats.client.support.SSLUtils
 
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.
credentialPath(String) - Method in class io.nats.client.Options.Builder
 
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
 
currentTimeSeconds() - Static method in class io.nats.client.support.JwtUtils
Get the current time in seconds since epoch.

D

d - Variable in class io.nats.client.support.JsonValue
 
DATA - Static variable in interface io.nats.client.support.ApiConstants
 
data - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
data(long) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
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.
decrementOutstandingRequests() - Method in interface io.nats.client.StatisticsCollector
Decrements the count of outstanding of requests from this connection.
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_CONSUME_OPTIONS - Static variable in class io.nats.client.ConsumeOptions
 
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_DESCRIPTION - Static variable in exception io.nats.client.JetStreamStatusException
 
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_DRAIN_TIMEOUT_MILLIS - Static variable in class io.nats.service.ServiceBuilder
 
DEFAULT_EXPIRES_IN_MILLIS - Static variable in class io.nats.client.BaseConsumeOptions
 
DEFAULT_FETCH_OPTIONS - Static variable in class io.nats.client.FetchConsumeOptions
 
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_KEYSTORE_TYPE - Static variable in class io.nats.client.support.SSLUtils
 
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_MESSAGE_COUNT - Static variable in class io.nats.client.BaseConsumeOptions
 
DEFAULT_MESSAGE_COUNT_WHEN_BYTES - Static variable in class io.nats.client.BaseConsumeOptions
 
DEFAULT_NATS_URI - Static variable in class io.nats.client.support.NatsUri
 
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_PORT - Static variable in interface io.nats.client.support.NatsConstants
 
DEFAULT_PULL_OPTS - Static variable in class io.nats.client.PullSubscribeOptions
 
DEFAULT_PUSH_OPTS - Static variable in class io.nats.client.PushSubscribeOptions
 
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_SOCKET_WRITE_TIMEOUT - Static variable in class io.nats.client.Options
Default socket write timeout, see getSocketWriteTimeout().
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_THRESHOLD_PERCENT - Static variable in class io.nats.client.BaseConsumeOptions
 
DEFAULT_TIME - Static variable in class io.nats.client.support.DateTimeUtils
 
DEFAULT_TIMEOUT - Static variable in class io.nats.client.JetStreamOptions
Deprecated.
DEFAULT_TIMEOUT - Static variable in class io.nats.client.PublishOptions
Use this variable for timeout in publish options.
DEFAULT_TLS_ALGORITHM - Static variable in class io.nats.client.support.SSLUtils
 
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, long) - Method in interface io.nats.client.KeyValue
Soft deletes the key by placing a delete marker iff the key exists and its last revision matches the expected
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.
deleteConsumer(String) - Method in interface io.nats.client.StreamContext
Management function to 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.
deleteMessage(long) - Method in interface io.nats.client.StreamContext
Deletes a message, overwriting the message data with garbage This can be considered an expensive (time-consuming) operation, but is more secure.
deleteMessage(long, boolean) - Method in interface io.nats.client.StreamContext
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.
deliverPolicy(DeliverPolicy) - Method in class io.nats.client.api.OrderedConsumerConfiguration
Sets the delivery policy of the OrderedConsumerConfiguration.
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 - Variable in class io.nats.client.support.JwtUtils.Permission
 
deny(String...) - Method in class io.nats.client.support.JwtUtils.Permission
 
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.FeatureConfiguration.Builder
Sets the description of the store.
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
The simple description of the service
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
destination(String) - Method in class io.nats.client.api.SubjectTransform.Builder
Set the SubjectTransform 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
Discovery is a utility class to help discover services by executing Ping, Info and Stats requests You are required to provide a connection.
Discovery(Connection) - Constructor for class io.nats.service.Discovery
Construct a Discovery instance with a connection and default maxTimeMillis / maxResults
Discovery(Connection, long, int) - Constructor for class io.nats.service.Discovery
Construct a Discovery instance
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
Set the user Dispatcher for this ServiceEndpoint
dispatcherFactory(DispatcherFactory) - Method in class io.nats.client.Options.Builder
Set the DispatcherFactory implementation for connections to use instead of the default implementation
domain(String) - Method in class io.nats.client.api.SourceBase.SourceBaseBuilder
 
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
The timeout when stopping a service.
drainTimeout(long) - Method in class io.nats.service.ServiceBuilder
The timeout when stopping a service.
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 - Variable in class io.nats.client.SubscribeOptions.Builder
 
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
 
end - Variable in class io.nats.client.support.JwtUtils.TimeRange
 
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
Endpoint encapsulates the name, subject and metadata for a ServiceEndpoint.
Endpoint(String) - Constructor for class io.nats.service.Endpoint
Directly construct an Endpoint with a name, which becomes the subject
Endpoint(String, Map<String, String>) - Constructor for class io.nats.service.Endpoint
Directly construct an Endpoint with a name, which becomes the subject, and metadata
Endpoint(String, String) - Constructor for class io.nats.service.Endpoint
Directly construct an Endpoint with a name and a subject
Endpoint(String, String, Map<String, String>) - Constructor for class io.nats.service.Endpoint
Directly construct an Endpoint with a name, the subject, and metadata
Endpoint(String, String, String, Map<String, String>) - Constructor for class io.nats.service.Endpoint
Directly construct an Endpoint with a name, the subject, queueGroup and metadata
endpoint(Endpoint) - Method in class io.nats.service.Endpoint.Builder
Copy the Endpoint, replacing all existing endpoint information.
endpoint(Endpoint) - Method in class io.nats.service.ServiceEndpoint.Builder
Set the Endpoint for this ServiceEndpoint replacing all existing endpoint information.
Endpoint.Builder - Class in io.nats.service
Build an Endpoint using a fluent builder.
endpointMetadata(Map<String, String>) - Method in class io.nats.service.ServiceEndpoint.Builder
Set the metadata for the Endpoint for this ServiceEndpoint replacing any metadata already set.
endpointName(String) - Method in class io.nats.service.ServiceEndpoint.Builder
Set the name for the Endpoint for this ServiceEndpoint replacing any name already set.
endpointQueueGroup(String) - Method in class io.nats.service.ServiceEndpoint.Builder
Set the queueGroup for the Endpoint for this ServiceEndpoint replacing any queueGroup already set.
ENDPOINTS - Static variable in interface io.nats.client.support.ApiConstants
 
EndpointStats - Class in io.nats.service
Endpoints stats contains various stats and custom data for an endpoint.
endpointSubject(String) - Method in class io.nats.service.ServiceEndpoint.Builder
Set the subject for the Endpoint for this ServiceEndpoint replacing any subject already set.
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.api.SourceBase
 
equals(Object) - Method in class io.nats.client.api.SubjectTransform
 
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.client.support.NatsUri
 
equals(Object) - Method in class io.nats.service.Endpoint
 
equals(Object) - Method in class io.nats.service.EndpointStats
 
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.ServiceResponse
 
equals(Object) - Method in class io.nats.service.StatsResponse
 
equivalent(NatsUri) - Method in class io.nats.client.support.NatsUri
 
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
 
EXCEEDED_MAX_REQUEST_BATCH - Static variable in class io.nats.client.support.Status
 
EXCEEDED_MAX_REQUEST_EXPIRES - Static variable in class io.nats.client.support.Status
 
EXCEEDED_MAX_REQUEST_MAX_BYTES - Static variable in class io.nats.client.support.Status
 
EXCEEDED_MAX_WAITING - Static variable in class io.nats.client.support.Status
 
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
 
expires - Variable in class io.nats.client.support.JwtUtils.ResponsePermission
 
expires(Duration) - Method in class io.nats.client.support.JwtUtils.ResponsePermission
 
expires(long) - Method in class io.nats.client.support.JwtUtils.ResponsePermission
 
EXPIRES_IN - Static variable in interface io.nats.client.support.ApiConstants
 
expiresIn - Variable in class io.nats.client.BaseConsumeOptions.Builder
 
expiresIn(long) - Method in class io.nats.client.BaseConsumeOptions.Builder
In Fetch, sets the maximum amount of time to wait to reach the batch size or max byte.
expiresIn - Variable in class io.nats.client.BaseConsumeOptions
 
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(External) - Method in class io.nats.client.api.SourceBase.SourceBaseBuilder
 
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
 
fastBind(boolean) - Method in class io.nats.client.PullSubscribeOptions.Builder
Specify binding to an existing consumer via name.
fastBind(String, String) - Static method in class io.nats.client.PullSubscribeOptions
Create PullSubscribeOptions where you are fast-binding to a specific stream and consumer by name.
fastBind - Variable in class io.nats.client.SubscribeOptions.Builder
 
fastBind - Variable in class io.nats.client.SubscribeOptions
 
FeatureConfiguration - Class in io.nats.client.api
 
FeatureConfiguration(StreamConfiguration, String) - Constructor for class io.nats.client.api.FeatureConfiguration
 
FeatureConfiguration.Builder<B,FC> - Class in io.nats.client.api
 
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(FetchConsumeOptions) - Method in interface io.nats.client.BaseConsumerContext
Start a one use Fetch Consumer with complete custom consume options.
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.
fetchBytes(int) - Method in interface io.nats.client.BaseConsumerContext
Start a one use Fetch Consumer using all defaults other than the number of bytes.
FetchConsumeOptions - Class in io.nats.client
Fetch Consume Options are provided to customize the fetch operation.
FetchConsumeOptions.Builder - Class in io.nats.client
 
FetchConsumer - Interface in io.nats.client
A fetch consumer gets messages by calling nextMessage.
fetchMessages(int) - Method in interface io.nats.client.BaseConsumerContext
Start a one use Fetch Consumer using all defaults other than the number of messages.
FILTER - Static variable in interface io.nats.client.support.ApiConstants
 
FILTER_SUBJECT - Static variable in interface io.nats.client.support.ApiConstants
 
FILTER_SUBJECTS - Static variable in interface io.nats.client.support.ApiConstants
 
filterPayload(byte[], int, int) - Method in class io.nats.client.support.WebsocketFrameHeader
Decrement the payloadLength by at most maxSize such that payloadLength is non-negative, returning the amount decremented.
filterSubject(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Sets the filter subject of the ConsumerConfiguration.
filterSubject(String) - Method in class io.nats.client.api.OrderedConsumerConfiguration
Sets the filter subject of the OrderedConsumerConfiguration.
filterSubject(String) - Method in class io.nats.client.api.SourceBase.SourceBaseBuilder
 
filterSubjects(String...) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Sets the filter subjects of the ConsumerConfiguration.
filterSubjects(List<String>) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Sets the filter subjects of the ConsumerConfiguration.
filterSubjects - Variable in class io.nats.client.api.ConsumerConfiguration
 
filterSubjects(String...) - Method in class io.nats.client.api.OrderedConsumerConfiguration
Sets the filter subjects of the OrderedConsumerConfiguration.
filterSubjects(List<String>) - Method in class io.nats.client.api.OrderedConsumerConfiguration
Sets the filter subject of the OrderedConsumerConfiguration.
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
 
firstSequence(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the first sequence to be used.
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.
flush(Duration) - Method in class io.nats.client.ForceReconnectOptions.Builder
 
flush(long) - Method in class io.nats.client.ForceReconnectOptions.Builder
 
flush() - Method in class io.nats.client.support.WebsocketOutputStream
 
flushBuffer() - Method in interface io.nats.client.Connection
Immediately flushes the underlying connection buffer if the connection is valid.
FORCE_CLOSE_INSTANCE - Static variable in class io.nats.client.ForceReconnectOptions
 
forceClose() - Method in class io.nats.client.ForceReconnectOptions.Builder
 
forceReconnect() - Method in interface io.nats.client.Connection
Forces reconnect behavior.
forceReconnect(ForceReconnectOptions) - Method in interface io.nats.client.Connection
Forces reconnect behavior.
ForceReconnectOptions - Class in io.nats.client
The PublishOptions class specifies the options for publishing with JetStream enabled servers.
ForceReconnectOptions.Builder - Class in io.nats.client
ForceReconnectOptions are created using a Builder.
fromBase64Url(String) - Static method in class io.nats.client.support.Encoding
Deprecated.
Use Encoding.base64UrlDecodeToString(String) instead. get a string from a base64 url encoded byte array
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.CompressionOption
 
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
 
getAcceptedIssuers() - Method in interface io.nats.client.support.SSLUtils.TrustManagerDelegate
 
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
getAuthHandler() - Method in class io.nats.client.Options
 
getAverageProcessingTime() - Method in class io.nats.service.EndpointStats
Average processing time is the total processing time divided by the num requests
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.
getBatchBytes() - Method in class io.nats.client.ConsumeOptions
The initial batch size in bytes.
getBatchSize() - Method in class io.nats.client.ConsumeOptions
The initial batch size in messages.
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
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
getCachedConsumerInfo() - Method in interface io.nats.client.ConsumerContext
Gets information about the consumer behind this subscription.
getCachedConsumerInfo() - Method in interface io.nats.client.MessageConsumer
Gets information about the consumer behind this subscription.
getCalculatedPending() - Method in class io.nats.client.api.ConsumerInfo
 
getCancelAction() - Method in class io.nats.client.support.NatsRequestCompletableFuture
 
getChannel() - Method in class io.nats.client.support.WebSocket
 
getChunks() - Method in class io.nats.client.api.ObjectInfo
 
getChunkSize() - Method in class io.nats.client.api.ObjectMetaOptions
 
getClaimBody(String) - Static method in class io.nats.client.support.JwtUtils
Get the claim body from a JWT
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
 
getCode() - Method in enum io.nats.client.support.WebsocketFrameHeader.OpCode
 
getCompressionOption() - Method in class io.nats.client.api.StreamConfiguration
Gets the compression option for this stream configuration.
getConfig() - Method in class io.nats.client.api.StreamInfo
 
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
 
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
 
getConsumeOptions() - Method in class io.nats.client.support.SerializableConsumeOptions
 
getConsumerConfiguration() - Method in class io.nats.client.api.ConsumerInfo
 
getConsumerConfiguration() - Method in class io.nats.client.SubscribeOptions
Gets the consumer configuration.
getConsumerConfiguration() - Method in class io.nats.client.support.SerializableConsumerConfiguration
 
getConsumerContext(String, String) - Method in interface io.nats.client.Connection
Get a consumer context for a specific named stream and specific named consumer.
getConsumerContext(String, String, JetStreamOptions) - Method in interface io.nats.client.Connection
Get a consumer context for a specific named stream and specific named consumer.
getConsumerContext(String, String) - Method in interface io.nats.client.JetStream
Get a consumer context for a specific named stream and specific named consumer.
getConsumerContext(String) - Method in interface io.nats.client.StreamContext
Get a consumer context for the context's stream and specific named consumer.
getConsumerCount() - Method in class io.nats.client.api.StreamState
Gets the number of consumers attached to the stream.
getConsumerInfo() - Method in interface io.nats.client.ConsumerContext
Gets information about the consumer behind this subscription.
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.
getConsumerInfo() - Method in interface io.nats.client.MessageConsumer
Gets information about the consumer behind this subscription.
getConsumerInfo(String) - Method in interface io.nats.client.StreamContext
Gets the info for an existing consumer.
getConsumerLimits() - Method in class io.nats.client.api.StreamConfiguration
Get the consumerLimits configuration.
getConsumerName() - Method in interface io.nats.client.BaseConsumerContext
Gets the consumer name that was used to create the context.
getConsumerName() - Method in interface io.nats.client.JetStreamSubscription
Gets the consumer name associated with the subscription.
getConsumerName() - Method in interface io.nats.client.MessageConsumer
Gets the consumer name associated with the subscription.
getConsumerNames(String) - Method in interface io.nats.client.JetStreamManagement
Return a list of consumers by name
getConsumerNames() - Method in interface io.nats.client.StreamContext
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.
getConsumers() - Method in interface io.nats.client.StreamContext
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
Gets the creation time of the consumer.
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.EndpointStats
A field that can be customized with any data as returned by stats handler
getData() - Method in class io.nats.service.ServiceMessage
 
getDataAsJson() - Method in class io.nats.service.EndpointStats
The json representation of the custom data.
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.
getDeliverPolicy() - Method in class io.nats.client.api.OrderedConsumerConfiguration
 
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 exception io.nats.client.JetStreamStatusException
Deprecated.
getDescription() - Method in class io.nats.service.InfoResponse
Description for the service
getDescription() - Method in class io.nats.service.Service
Get the description of the service
getDestination() - Method in class io.nats.client.api.Republish
Get destination, the RePublish Subject template
getDestination() - Method in class io.nats.client.api.SubjectTransform
Get destination, the SubjectTransform 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
 
getDispatcherFactory() - Method in class io.nats.client.Options
Get the DispatcherFactory implementation.
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
Get the drain timeout setting
getDroppedCount() - Method in interface io.nats.client.Consumer
 
getDroppedCount() - Method in interface io.nats.client.Statistics
 
getDuplicateRepliesReceived() - 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.InfoResponse
List of endpoints
getEndpointStats(String) - Method in class io.nats.service.Service
Get the up-to-date EndpointStats for a specific endpoint
getEndpointStatsList() - Method in class io.nats.service.StatsResponse
Get the list of EndpointStats
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
getErrs() - Method in interface io.nats.client.Statistics
 
getEvent() - Method in enum io.nats.client.ConnectionListener.Events
 
getException() - Method in class io.nats.client.api.KeyResult
 
getExceptions() - Method in interface io.nats.client.Statistics
 
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
getExpiresInMillis() - Method in class io.nats.client.BaseConsumeOptions
 
getExternal() - Method in class io.nats.client.api.SourceBase
 
getFetchConsumeOptions() - Method in class io.nats.client.support.SerializableFetchConsumeOptions
 
getFilterSubject() - Method in class io.nats.client.api.ConsumerConfiguration
Gets the filter subject of this consumer configuration.
getFilterSubject() - Method in class io.nats.client.api.OrderedConsumerConfiguration
 
getFilterSubject() - Method in class io.nats.client.api.SourceBase
 
getFilterSubjects() - Method in class io.nats.client.api.ConsumerConfiguration
Gets the filter subjects as a list.
getFilterSubjects() - Method in class io.nats.client.api.OrderedConsumerConfiguration
 
getFirstMessage(String, String) - Method in interface io.nats.client.JetStreamManagement
Get MessageInfo for the first message of the subject.
getFirstMessage(String) - Method in interface io.nats.client.StreamContext
Get MessageInfo for the first message of the subject.
getFirstSequence() - Method in class io.nats.client.api.StreamConfiguration
The first sequence used in the stream.
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
getFlushCounter() - Method in interface io.nats.client.Statistics
 
getFlushWait() - Method in class io.nats.client.ForceReconnectOptions
 
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
 
getGroupName() - Method in class io.nats.service.ServiceEndpoint
Get the name of the Group
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.HttpRequest
 
getHeaders() - Method in class io.nats.client.support.IncomingHeadersProcessor
 
getHeaders() - Method in class io.nats.service.ServiceMessage
 
getHeadersOnly() - Method in class io.nats.client.api.OrderedConsumerConfiguration
 
getHeaderValue() - Method in enum io.nats.client.api.KeyValueOperation
 
getHost() - Method in class io.nats.client.api.ServerInfo
 
getHost() - Method in class io.nats.client.support.NatsUri
 
getHttpRequestInterceptors() - Method in class io.nats.client.Options
 
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
Get the id of the service
getId() - Method in class io.nats.service.ServiceResponse
The unique ID of the service
getIdleHeartbeat() - Method in class io.nats.client.api.ConsumerConfiguration
Gets the idle heart beat wait time
getIdleHeartbeat() - Method in class io.nats.client.BaseConsumeOptions
 
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.
getInactiveThreshold() - Method in class io.nats.client.api.ConsumerLimits
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
 
getInetAddress() - Method in class io.nats.client.support.WebSocket
 
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
Get the pre-constructed info response.
getInMsgs() - Method in interface io.nats.client.Statistics
 
getInputStream() - Method in class io.nats.client.support.WebSocket
 
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
Deprecated.
getJsonValue() - Method in class io.nats.client.support.JsonValueUtils.MapBuilder
Deprecated.
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
getKeepAlive() - Method in class io.nats.client.support.WebSocket
 
getKey() - Method in class io.nats.client.api.KeyResult
 
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.EndpointStats
If set, the last error triggered by the endpoint
getLastMessage(String, String) - Method in interface io.nats.client.JetStreamManagement
Get MessageInfo for the last message of the subject.
getLastMessage(String) - Method in interface io.nats.client.StreamContext
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.
getLocalAddress() - Method in class io.nats.client.support.WebSocket
 
getLocalPort() - Method in class io.nats.client.support.WebSocket
 
getLocalSocketAddress() - Method in class io.nats.client.support.WebSocket
 
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.
getMaskingKey() - Method in class io.nats.client.support.WebsocketFrameHeader
 
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.
getMaxAckPending() - Method in class io.nats.client.api.ConsumerLimits
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.FeatureConfiguration
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.ObjectStoreStatus
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.FetchConsumeOptions
The maximum number of bytes to fetch.
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.
getMaximumMessageSize() - Method in class io.nats.client.api.StreamConfiguration
Gets the maximum message size for this stream configuration.
getMaximumValueSize() - Method in class io.nats.client.api.KeyValueConfiguration
Gets the maximum size for an individual value in the bucket.
getMaximumValueSize() - Method in class io.nats.client.api.KeyValueStatus
Gets the maximum size for an individual value in the bucket.
getMaxMemory() - Method in class io.nats.client.api.AccountLimits
The maximum amount of Memory storage Stream Messages may consume.
getMaxMessages() - Method in class io.nats.client.FetchConsumeOptions
The maximum number of messages to fetch.
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
Deprecated.
the server value is a 32-bit signed value. Use StreamConfiguration.getMaximumMessageSize() instead.
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
Deprecated.
the server value is a 32-bit signed value. Use KeyValueConfiguration.getMaximumValueSize() instead.
getMaxValueSize() - Method in class io.nats.client.api.KeyValueStatus
Deprecated.
the server value is a 32-bit signed value. Use KeyValueStatus.getMaximumValueSize() instead.
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(long) - Method in interface io.nats.client.StreamContext
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
getMessageWithCode() - Method in class io.nats.client.support.Status
 
getMetadata() - Method in class io.nats.client.api.ConsumerConfiguration
Metadata for the consumer; may be empty, will never be null.
getMetadata() - Method in class io.nats.client.api.FeatureConfiguration
Get the metadata for the feature
getMetadata() - Method in class io.nats.client.api.KeyValueStatus
Get the metadata for the store
getMetadata() - Method in class io.nats.client.api.ObjectStoreStatus
Get the metadata for the store
getMetadata() - Method in class io.nats.client.api.StreamConfiguration
Metadata for the stream
getMetadata() - Method in class io.nats.service.Endpoint
Get a copy of the metadata of the Endpoint
getMetadata() - Method in class io.nats.service.ServiceEndpoint
Get a copy of the metadata of the Endpoint
getMetadata() - Method in class io.nats.service.ServiceResponse
A copy of the metadata for the service, or null if there is no metadata
getMetaHeaders() - Static method in class io.nats.client.support.NatsObjectStoreUtil
 
getMethod() - Method in class io.nats.client.support.HttpRequest
 
getMirror() - Method in class io.nats.client.api.KeyValueConfiguration
The mirror definition for this configuration
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.SourceBase
Get the name of the source.
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.client.SubscribeOptions
Gets the name of the consumer.
getName() - Method in class io.nats.service.Endpoint
Get the name of the Endpoint
getName() - Method in class io.nats.service.EndpointStats
Get the name of the Endpoint
getName() - Method in class io.nats.service.Group
Get the name of the group.
getName() - Method in class io.nats.service.Service
Get the name of the service
getName() - Method in class io.nats.service.ServiceEndpoint
Get the name of the Endpoint
getName() - Method in class io.nats.service.ServiceResponse
The name of the service
getNatsEvent() - Method in enum io.nats.client.ConnectionListener.Events
 
getNatsServerUris() - Method in class io.nats.client.Options
 
getNext() - Method in class io.nats.service.Group
Get the next group after this 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.
getNextMessage(long, String) - Method in interface io.nats.client.StreamContext
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 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.EndpointStats
Number of errors that the endpoint has raised
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.EndpointStats
The number of requests received by the endpoint
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
 
getOKs() - Method in interface io.nats.client.Statistics
 
getOOBInline() - Method in class io.nats.client.support.WebSocket
 
getOpCode() - Method in class io.nats.client.support.WebsocketFrameHeader
 
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
 
getOrderedConsumerConfiguration() - Method in class io.nats.client.support.SerializableOrderedConsumerConfiguration
 
getOrphanRepliesReceived() - Method in interface io.nats.client.Statistics
 
getOrUnset(Integer) - 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
 
getOutputStream() - Method in class io.nats.client.support.WebSocket
 
getOutstandingRequests() - 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
 
getPaused() - Method in class io.nats.client.api.ConsumerInfo
 
getPauseRemaining() - Method in class io.nats.client.api.ConsumerInfo
 
getPauseRemaining() - Method in class io.nats.client.api.ConsumerPauseResponse
Returns how much time is remaining for this consumer to be paused
getPauseUntil() - Method in class io.nats.client.api.ConsumerConfiguration
Get the time until the consumer is paused.
getPauseUntil() - Method in class io.nats.client.api.ConsumerPauseResponse
Returns the time until the consumer is paused
getPayloadLength() - Method in class io.nats.client.support.WebsocketFrameHeader
 
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
Get the pre-constructed ping response.
getPings() - Method in interface io.nats.client.Statistics
 
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
 
getPort() - Method in class io.nats.client.support.NatsUri
 
getPort() - Method in class io.nats.client.support.WebSocket
 
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.EndpointStats
Total processing time for the endpoint
getProtocolVersion() - Method in class io.nats.client.api.ServerInfo
 
getProxy() - Method in class io.nats.client.Options
 
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
 
getQueueGroup() - Method in class io.nats.service.Endpoint
Get the queueGroup for the Endpoint
getQueueGroup() - Method in class io.nats.service.EndpointStats
Get the queueGroup of the Endpoint
getQueueGroup() - Method in class io.nats.service.ServiceEndpoint
Get the queueGroup for the ServiceEndpoint
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.
getReceiveBufferSize() - Method in class io.nats.client.support.WebSocket
 
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
 
getRemoteSocketAddress() - Method in class io.nats.client.support.WebSocket
 
getReplayPolicy() - Method in class io.nats.client.api.ConsumerConfiguration
Gets the replay policy of this consumer configuration.
getReplayPolicy() - Method in class io.nats.client.api.OrderedConsumerConfiguration
 
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.
getRepliesReceived() - Method in interface io.nats.client.Statistics
 
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.
getRequestCleanupInterval() - Method in class io.nats.client.Options
 
getRequestsSent() - Method in interface io.nats.client.Statistics
 
getRequestTimeout() - Method in class io.nats.client.JetStreamOptions
Gets the request timeout the stream.
getRetentionPolicy() - Method in class io.nats.client.api.StreamConfiguration
Gets the retention policy for this stream configuration.
getReuseAddress() - Method in class io.nats.client.support.WebSocket
 
getRevision() - Method in class io.nats.client.api.KeyValueEntry
 
getSampleFrequency() - Method in class io.nats.client.api.ConsumerConfiguration
Gets the sample frequency.
getScheme() - Method in class io.nats.client.support.NatsUri
 
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
 
getSendBufferSize() - Method in class io.nats.client.support.WebSocket
 
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() - Method in interface io.nats.client.ServerPool
Get the list of servers known to the pool.
getServerName() - Method in class io.nats.client.api.ServerInfo
 
getServerPool() - Method in class io.nats.client.Options
Get the ServerPool implementation.
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
 
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
getSocketReadTimeoutMillis() - Method in class io.nats.client.Options
 
getSocketSoLinger() - Method in class io.nats.client.Options
 
getSocketWriteTimeout() - Method in class io.nats.client.Options
 
getSoLinger() - Method in class io.nats.client.support.WebSocket
 
getSoTimeout() - Method in class io.nats.client.support.WebSocket
 
getSource() - Method in class io.nats.client.api.Republish
Get source, the Published subject matching filter
getSource() - Method in class io.nats.client.api.SubjectTransform
Get source, the subject matching filter
getSourceInfos() - Method in class io.nats.client.api.StreamInfo
 
getSourceName() - Method in class io.nats.client.api.SourceBase
Get the name of the source.
getSources() - Method in class io.nats.client.api.KeyValueConfiguration
The sources for this configuration
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.EndpointStats
Get the time the endpoint was started (or restarted)
getStarted() - Method in class io.nats.service.StatsResponse
Get the time the service was started
getStartSeq() - Method in class io.nats.client.api.SourceBase
 
getStartSequence() - Method in class io.nats.client.api.ConsumerConfiguration
Gets the start sequence of this consumer configuration.
getStartSequence() - Method in class io.nats.client.api.OrderedConsumerConfiguration
 
getStartTime() - Method in class io.nats.client.api.ConsumerConfiguration
Gets the start time of this consumer configuration.
getStartTime() - Method in class io.nats.client.api.OrderedConsumerConfiguration
 
getStartTime() - Method in class io.nats.client.api.SourceBase
 
getStatistics() - Method in interface io.nats.client.Connection
 
getStatisticsCollector() - Method in class io.nats.client.Options
 
getStatsDataSupplier() - Method in class io.nats.service.ServiceEndpoint
 
getStatsResponse() - Method in class io.nats.service.Service
Get the up-to-date stats response which contains a list of all EndpointStats
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
 
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.
getStreamContext(String) - Method in interface io.nats.client.Connection
Get a stream context for a specific stream.
getStreamContext(String, JetStreamOptions) - Method in interface io.nats.client.Connection
Get a stream context for a specific stream
getStreamContext(String) - Method in interface io.nats.client.JetStream
Get a stream context for a specific named 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.
getStreamInfo() - Method in interface io.nats.client.StreamContext
Gets information about the stream for this context.
getStreamInfo(StreamInfoOptions) - Method in interface io.nats.client.StreamContext
Gets information about the stream for this context.
getStreamName() - Method in class io.nats.client.api.ConsumerInfo
 
getStreamName() - Method in interface io.nats.client.StreamContext
Gets the stream name that was used to create the context.
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
Get the subject of the Endpoint
getSubject() - Method in class io.nats.service.EndpointStats
Get the subject of the Endpoint
getSubject() - Method in class io.nats.service.Group
Get the resolved subject of a group by concatenating the group name and any groups.
getSubject() - Method in class io.nats.service.ServiceEndpoint
Get the subject of the ServiceEndpoint which takes into account the group path and the Endpoint subject
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.
getSubjectMap() - Method in class io.nats.client.api.StreamState
Get a map of subjects instead of a list of Subject objects.
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.
getSubjectsFilter() - Method in class io.nats.client.api.StreamInfoOptions
 
getSubjectTransform() - Method in class io.nats.client.api.StreamConfiguration
Get the subjectTransform configuration.
getSubjectTransforms() - Method in class io.nats.client.api.SourceBase
 
getSubscription() - Method in exception io.nats.client.JetStreamStatusException
Get the subscription this issue occurred on
getSubscription() - Method in interface io.nats.client.Message
 
getSuccess() - Method in class io.nats.client.api.SuccessApiResponse
 
getTags() - Method in class io.nats.client.api.Placement
Tags required on servers hosting this stream
getTcpNoDelay() - Method in class io.nats.client.support.WebSocket
 
getTemplateOwner() - Method in class io.nats.client.api.StreamConfiguration
Gets the template json for this stream configuration.
getThis() - Method in class io.nats.client.api.FeatureConfiguration.Builder
 
getThis() - Method in class io.nats.client.api.KeyValueConfiguration.Builder
 
getThis() - Method in class io.nats.client.api.ObjectStoreConfiguration.Builder
 
getThis() - Method in class io.nats.client.BaseConsumeOptions.Builder
 
getThis() - Method in class io.nats.client.ConsumeOptions.Builder
 
getThis() - Method in class io.nats.client.FeatureOptions.Builder
 
getThis() - Method in class io.nats.client.FetchConsumeOptions.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
 
getThresholdPercent() - Method in class io.nats.client.BaseConsumeOptions
 
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
getTimestamp() - Method in class io.nats.client.api.ConsumerInfo
Gets the server time the info was gathered
getTimestamp() - Method in class io.nats.client.api.StreamInfo
Gets the server time the info was gathered
getTimeTraceLogger() - Method in class io.nats.client.Options
If the user provided a TimeTraceLogger, it's returned here.
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
getTrafficClass() - Method in class io.nats.client.support.WebSocket
 
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
 
getURI() - Method in class io.nats.client.support.HttpRequest
This is the RAW URI, you may need to perform URL decoding the result.
getUri() - Method in class io.nats.client.support.NatsUri
 
getUserInfo() - Method in class io.nats.client.support.NatsUri
 
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.client.support.HttpRequest
 
getVersion() - Method in class io.nats.service.Service
Get the version of the 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
 
GREATER_THAN - Static variable in interface io.nats.client.support.NatsConstants
 
Group - Class in io.nats.service
Group is way to organize endpoints by serving as a common prefix to all endpoints registered in it.
Group(String) - Constructor for class io.nats.service.Group
Construct a group.
group(Group) - Method in class io.nats.service.ServiceEndpoint.Builder
Set the Group for this ServiceEndpoint

H

handler(ServiceMessageHandler) - Method in class io.nats.service.ServiceEndpoint.Builder
Set the ServiceMessageHandler for this ServiceEndpoint
hasData() - Method in class io.nats.client.api.Placement
 
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.api.SourceBase
 
hashCode() - Method in class io.nats.client.api.SubjectTransform
 
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.client.support.NatsUri
 
hashCode() - Method in class io.nats.service.Endpoint
 
hashCode() - Method in class io.nats.service.EndpointStats
 
hashCode() - Method in class io.nats.service.Group
 
hashCode() - Method in class io.nats.service.InfoResponse
 
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
 
hasMultipleFilterSubjects() - Method in class io.nats.client.api.ConsumerConfiguration
Whether there are multiple filter subjects for this consumer configuration.
hasMultipleFilterSubjects() - Method in class io.nats.client.api.OrderedConsumerConfiguration
 
hasPrefix(String) - Static method in class io.nats.client.support.NatsKeyValueUtil
 
hasSecureServer() - Method in interface io.nats.client.ServerPool
Whether the pool has any server with a secure scheme
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.OrderedConsumerConfiguration
set the headers only flag saying to deliver only the headers of messages in the stream and not the bodies
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
 
hostIsIpAddress() - Method in class io.nats.client.support.NatsUri
 
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
 
HttpRequest - Class in io.nats.client.support
Encapsulate an HttpRequest, in Java 11 we could use this class: https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpRequest.html ...but we want to support older JVMs.
HttpRequest() - Constructor for class io.nats.client.support.HttpRequest
 
httpRequestInterceptor(Consumer<HttpRequest>) - Method in class io.nats.client.Options.Builder
Add an HttpRequest interceptor which can be used to modify the HTTP request when using websockets
httpRequestInterceptors(Collection<? extends Consumer<HttpRequest>>) - Method in class io.nats.client.Options.Builder
Overwrite the list of HttpRequest interceptors which can be used to modify the HTTP request when using websockets

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 - Variable in class io.nats.client.BaseConsumeOptions
 
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
 
inactiveThreshold(Duration) - Method in class io.nats.client.api.ConsumerLimits.Builder
sets the amount of time before the consumer is deemed inactive.
inactiveThreshold(long) - Method in class io.nats.client.api.ConsumerLimits.Builder
sets the amount of time before the consumer is deemed inactive.
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
 
incrementDroppedCount() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of messages dropped by this connection across all slow consumers.
incrementDuplicateRepliesReceived() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of duplicate replies received by this connection.
incrementErrCount() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of op -ERRs received by this connection.
incrementExceptionCount() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of exceptions seen by this connection.
incrementFlushCounter() - Method in interface io.nats.client.StatisticsCollector
Increment the total number of outgoing message flushes by this connection.
incrementInBytes(long) - Method in interface io.nats.client.StatisticsCollector
Increment the total number of message bytes that have come in to this connection.
incrementInMsgs() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of messages that have come in to this connection.
incrementOkCount() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of op +OKs received by this connection.
incrementOrphanRepliesReceived() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of orphan replies received by this connection.
incrementOutBytes(long) - Method in interface io.nats.client.StatisticsCollector
Increment the total number of message bytes that have gone out of this connection.
incrementOutMsgs() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of messages that have gone out of this connection.
incrementOutstandingRequests() - Method in interface io.nats.client.StatisticsCollector
Increments the count of outstanding of requests from this connection.
incrementPingCount() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of pings that have been sent from this connection.
incrementReconnects() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of times this connection has tried to reconnect.
incrementRepliesReceived() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of replies received by this connection.
incrementRequestsSent() - Method in interface io.nats.client.StatisticsCollector
Increments the total number of requests sent by this connection.
info() - Method in class io.nats.service.Discovery
Make an info request to all services running on the server.
info(String) - Method in class io.nats.service.Discovery
Make an info request only to services having the matching service name
info(String, String) - Method in class io.nats.service.Discovery
Make an info request to a specific instance of a service having matching service name and id
infoDispatcher(Dispatcher) - Method in class io.nats.service.ServiceBuilder
Optional dispatcher for the info service
InfoResponse - Class in io.nats.service
Info response class forms the info json payload, for example: {"id":"JlkwZvmHAXCQGwwxiPwaBJ","name":"MyService","version":"0.0.1","endpoints":[{"name":"MyEndpoint","subject":"myend"}],"type":"io.nats.micro.v1.info_response"}
initialize(Options) - Method in interface io.nats.client.ServerPool
Initialize the pool.
inProgress() - Method in interface io.nats.client.Message
Indicates that this message is being worked on and reset redelivery timer in the server.
instance(String) - Static method in class io.nats.client.api.StreamConfiguration
Returns a StreamConfiguration deserialized from its JSON form.
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 consumer
isBound() - Method in class io.nats.client.support.WebSocket
 
isBucketLink() - Method in class io.nats.client.api.ObjectLink
 
isClosed() - Method in class io.nats.client.support.WebSocket
 
isCompressed() - Method in class io.nats.client.api.FeatureConfiguration
Gets the state of compression
isCompressed() - Method in class io.nats.client.api.KeyValueStatus
Gets the state of compression
isCompressed() - Method in class io.nats.client.api.ObjectStoreStatus
Gets the state of compression
isConnected() - Method in class io.nats.client.support.WebSocket
 
isConnectionEvent() - Method in enum io.nats.client.ConnectionListener.Events
 
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.
isDone() - Method in class io.nats.client.api.KeyResult
 
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
 
isException() - Method in class io.nats.client.api.KeyResult
 
isFastBind() - Method in class io.nats.client.SubscribeOptions
Gets whether this subscription is expected to fast bind to an existing stream and consumer.
isFinal() - Method in class io.nats.client.support.WebsocketFrameHeader
 
isFinished() - Method in interface io.nats.client.MessageConsumer
Finish indicates all messages have been received from the server.
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
 
isFlush() - Method in class io.nats.client.ForceReconnectOptions
 
isForceClose() - Method in class io.nats.client.ForceReconnectOptions
 
isGtEqZero(long) - Static method in class io.nats.client.support.Validator
 
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
isInputShutdown() - Method in class io.nats.client.support.WebSocket
 
isJetStream() - Method in interface io.nats.client.Message
Checks if a message is from JetStream or is a standard message.
isJetStreamAvailable() - Method in class io.nats.client.api.ServerInfo
 
isKey() - Method in class io.nats.client.api.KeyResult
 
isLameDuckMode() - Method in class io.nats.client.api.ServerInfo
 
isLink() - Method in class io.nats.client.api.ObjectInfo
 
isMasked() - Method in class io.nats.client.support.WebsocketFrameHeader
 
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.
isNewer(String, String) - Static method in class io.nats.client.support.ServerVersion
 
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
 
isNoResolveHostnames() - Method in class io.nats.client.Options
 
isNoResponders() - Method in class io.nats.client.support.Status
 
isNoWait() - Method in class io.nats.client.BaseConsumeOptions
 
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
isOlder(String, String) - Static method in class io.nats.client.support.ServerVersion
 
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
isOutputShutdown() - Method in class io.nats.client.support.WebSocket
 
isPaused() - Method in class io.nats.client.api.ConsumerPauseResponse
Returns true if the consumer was paused
isPayloadEmpty() - Method in class io.nats.client.support.WebsocketFrameHeader
 
isPedantic() - Method in class io.nats.client.Options
 
isPublishNoAck() - Method in class io.nats.client.JetStreamOptions
Gets 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
 
isReportNoResponders() - Method in class io.nats.client.Options
 
isSame(String, String) - Static method in class io.nats.client.support.ServerVersion
 
isSameOrNewer(String, String) - Static method in class io.nats.client.support.ServerVersion
 
isSameOrNewerThanVersion(String) - Method in class io.nats.client.api.ServerInfo
 
isSameOrOlder(String, String) - Static method in class io.nats.client.support.ServerVersion
 
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.ObjectStoreConfiguration
If true, indicates the store is sealed and cannot be modified in any way
isSealed() - Method in class io.nats.client.api.ObjectStoreStatus
If true, indicates the store is sealed and cannot be modified in any way
isSecure() - Method in class io.nats.client.support.NatsUri
 
isSemVer(String) - Static method in class io.nats.client.support.Validator
 
isStatusMessage() - Method in interface io.nats.client.Message
 
isStopped() - Method in interface io.nats.client.MessageConsumer
Stopped indicates whether consuming has been stopped.
isSuccess() - Method in class io.nats.client.api.PurgeResponse
Returns true if the server was able to purge the stream
issueJWT(NKey, String, String, Duration, long, String, JsonSerializable) - Static method in class io.nats.client.support.JwtUtils
Issue a JWT
issueJWT(NKey, String, String, Duration, long, String, String, JsonSerializable) - Static method in class io.nats.client.support.JwtUtils
Issue a JWT
issuerAccount - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
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
Issue a user JWT from a scoped signing key.
issueUserJWT(NKey, String, String, String, Duration, String[], long, String) - Static method in class io.nats.client.support.JwtUtils
 
issueUserJWT(NKey, String, String, Duration, long, JwtUtils.UserClaim) - Static method in class io.nats.client.support.JwtUtils
Issue a user JWT from a scoped signing key.
issueUserJWT(NKey, String, String, Duration, long, String, JwtUtils.UserClaim) - Static method in class io.nats.client.support.JwtUtils
Issue a user JWT from a scoped signing key.
isTLSAvailable() - Method in class io.nats.client.api.ServerInfo
 
isTlsFirst() - Method in class io.nats.client.Options
Get whether to do tls first
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
If isTraceConnection is true, the user provided a TimeTraceLogger or manually called traceConnection in the builder
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
 
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
 
isWebsocket() - Method in class io.nats.client.support.NatsUri
 
IterableConsumer - Interface in io.nats.client
 
iterate() - Method in interface io.nats.client.BaseConsumerContext
Start a long-running IterableConsumer with default ConsumeOptions.
iterate(ConsumeOptions) - Method in interface io.nats.client.BaseConsumerContext
Start a long-running IterableConsumer with custom ConsumeOptions.
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 access to streams and consumers in NATS.
jetStream() - Method in interface io.nats.client.JetStreamManagement
Gets a context for publishing and subscribing to subjects backed by Jetstream streams and consumers, using the same connection and JetStreamOptions as the management.
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 interface provides push like ability for a pull consumer.
JetStreamStatusCheckedException - Exception in io.nats.client
 
JetStreamStatusCheckedException(JetStreamStatusException) - Constructor for exception io.nats.client.JetStreamStatusCheckedException
 
JetStreamStatusException - Exception in io.nats.client
JetStreamStatusException is used to indicate an unknown status message was received.
JetStreamStatusException(Status, JetStreamSubscription) - Constructor for exception io.nats.client.JetStreamStatusException
Construct JetStreamStatusException for a subscription and a status
JetStreamStatusException(Status) - Constructor for exception io.nats.client.JetStreamStatusException
Construct JetStreamStatusException for a status
JetStreamSubscription - Interface in io.nats.client
Subscription on a JetStream context.
join(String, List<NatsUri>) - Static method in class io.nats.client.support.NatsUri
 
JS_ACK_SUBJECT_PREFIX - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
JS_COMPRESSION_NO - Static variable in class io.nats.client.api.FeatureConfiguration
 
JS_COMPRESSION_YES - Static variable in class io.nats.client.api.FeatureConfiguration
 
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_CONSUMER_PAUSE - 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.
JsMultipleFilterSubjects210NotAvailable - Static variable in class io.nats.client.support.NatsJetStreamClientError
 
JsNoMessageFoundErr - Static variable in class io.nats.client.api.Error
 
json(String) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Initialize values from the json string.
json(String) - Method in class io.nats.client.BaseConsumeOptions.Builder
Initialize values from the json string.
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
 
jsonEncode(char[]) - Static method in class io.nats.client.support.Encoding
 
jsonEncode(StringBuilder, char[]) - 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.
JsonUtils.ListAdder<T> - Interface in io.nats.client.support
 
jsonValue(JsonValue) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Initialize values from the JsonValue object.
jsonValue(JsonValue) - Method in class io.nats.client.BaseConsumeOptions.Builder
Initialize values from the JsonValue object.
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
 
JsSoNameOrDurableRequiredForBind - 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
Deprecated.
JsSoOrderedRequiresMaxDeliverOfOne - 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
 
JsSubSubjectNeededToLookupStream - 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 ADR-14
JwtUtils.Permission - Class in io.nats.client.support
 
JwtUtils.ResponsePermission - Class in io.nats.client.support
 
JwtUtils.TimeRange - Class in io.nats.client.support
 
JwtUtils.UserClaim - Class in io.nats.client.support
 

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
 
KeyResult - Class in io.nats.client.api
 
KeyResult() - Constructor for class io.nats.client.api.KeyResult
 
KeyResult(String) - Constructor for class io.nats.client.api.KeyResult
 
KeyResult(Exception) - Constructor for class io.nats.client.api.KeyResult
 
keys() - Method in interface io.nats.client.KeyValue
Get a list of the keys in a bucket.
keys(String) - Method in interface io.nats.client.KeyValue
Get a list of the keys in a bucket filtered by a subject-like string, for instance "key" or "key.foo.*" or "key.>"
keys(List<String>) - Method in interface io.nats.client.KeyValue
Get a list of the keys in a bucket filtered by subject-like strings, for instance "aaa.*", "bbb.*;"
keystorePassword(char[]) - Method in class io.nats.client.Options.Builder
 
keystorePath(String) - Method in class io.nats.client.Options.Builder
 
keyValue(String) - Method in interface io.nats.client.Connection
Gets a context for working with a 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
LEADER - Static variable in interface io.nats.client.support.ApiConstants
 
LEADERSHIP_CHANGE - Static variable in class io.nats.client.support.Status
 
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
 
listEquals(List<T>, List<T>) - Static method in class io.nats.client.support.JsonUtils
 
listOf(JsonValue, Function<JsonValue, T>) - Static method in class io.nats.client.support.JsonValueUtils
 
loadKeystore(String, char[]) - Static method in class io.nats.client.support.SSLUtils
 
locale - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
locale(String) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
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
 
MapBuilder(JsonValue) - Constructor for class io.nats.client.support.JsonValueUtils.MapBuilder
 
mapEquals(Map<String, String>, Map<String, String>) - Static method in class io.nats.client.support.JsonUtils
 
mapOrder - Variable in class io.nats.client.support.JsonValue
 
mapsAreEquivalent(Map<String, String>, Map<String, String>) - Static method in class io.nats.client.support.Validator
 
mark(int) - Method in class io.nats.client.support.WebsocketInputStream
 
markSupported() - Method in class io.nats.client.support.WebsocketInputStream
 
matches(String) - Method in class io.nats.client.support.Digester
 
max(int, int) - Method in class io.nats.client.FetchConsumeOptions.Builder
Set maximum number of bytes or messages to fetch.
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_FRAME_HEADER_SIZE - Static variable in class io.nats.client.support.WebsocketFrameHeader
 
MAX_HEARTBEAT_MILLIS - Static variable in class io.nats.client.BaseConsumeOptions
 
MAX_HISTORY_PER_KEY - Static variable in interface io.nats.client.support.NatsJetStreamConstants
The Max History Per Key KV key
MAX_IDLE_HEARTBEAT_PERCENT - Static variable in class io.nats.client.BaseConsumeOptions
 
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
 
maxAckPending(Long) - Method in class io.nats.client.api.ConsumerLimits.Builder
Sets the maximum ack pending or null to unset / clear.
maxAckPending(long) - Method in class io.nats.client.api.ConsumerLimits.Builder
Sets the maximum ack pending.
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.FeatureConfiguration.Builder
Sets the maximum number of bytes in the configuration.
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(long) - Method in class io.nats.client.FetchConsumeOptions.Builder
Set maximum number of bytes to fetch and remove any previously set constraint The number of bytes fetched will also be constrained by the expiration time.
maxBytes(long) - 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.
maximumMessageSize(int) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the maximum message size in the StreamConfiguration.
maximumValueSize(int) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets the maximum size for an individual value in the KeyValueConfiguration.
maxMessages(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the maximum number of messages in the StreamConfiguration.
maxMessages(int) - Method in class io.nats.client.FetchConsumeOptions.Builder
Set the maximum number of messages to fetch and remove any previously set FetchConsumeOptions.Builder.maxBytes(long) constraint.
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.
maxMsgs - Variable in class io.nats.client.support.JwtUtils.ResponsePermission
 
maxMsgs(int) - Method in class io.nats.client.support.JwtUtils.ResponsePermission
 
maxMsgSize(long) - Method in class io.nats.client.api.StreamConfiguration.Builder
Deprecated.
the server value is a 32-bit signed value. Use StreamConfiguration.Builder.maximumMessageSize(int) instead.
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
Deprecated.
the server value is a 32-bit signed value. Use KeyValueConfiguration.Builder.maximumValueSize(int) instead.
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
 
MESSAGE_INFO_HEADERS - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
MESSAGE_SIZE_EXCEEDS_MAX_BYTES - Static variable in class io.nats.client.support.Status
 
messageAlarmTime - Variable in class io.nats.client.SubscribeOptions.Builder
 
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
 
MessageConsumer - Interface in io.nats.client
The MessageConsumer interface is the core interface replacing a subscription for a simplified consumer.
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 - Variable in class io.nats.client.BaseConsumeOptions.Builder
 
messages(int) - Method in class io.nats.client.BaseConsumeOptions.Builder
 
messages - Variable in class io.nats.client.BaseConsumeOptions
 
MESSAGES - Static variable in interface io.nats.client.support.ApiConstants
 
metadata(Map<String, String>) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Sets the metadata for the configuration
metadata - Variable in class io.nats.client.api.ConsumerConfiguration
 
metadata(Map<String, String>) - Method in class io.nats.client.api.FeatureConfiguration.Builder
Sets the metadata for the configuration
metadata(Map<String, String>) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets the metadata for the KeyValueConfiguration
metadata(Map<String, String>) - Method in class io.nats.client.api.ObjectStoreConfiguration.Builder
Sets the metadata for the ObjectStoreConfiguration
metadata(Map<String, String>) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the metadata for the configuration
metaData() - Method in interface io.nats.client.Message
Gets the metadata associated with a JetStream message.
METADATA - Static variable in interface io.nats.client.support.ApiConstants
 
metadata(Map<String, String>) - Method in class io.nats.service.Endpoint.Builder
Set the metadata for the Endpoint, replacing any metadata already set.
metadata(Map<String, String>) - Method in class io.nats.service.ServiceBuilder
Any meta information about this service
metadata - Variable in class io.nats.service.ServiceResponse
 
metadataWasSet() - Method in class io.nats.client.api.ConsumerConfiguration
Gets whether metadata for this consumer configuration was set or left unset
method(String) - Method in class io.nats.client.support.HttpRequest
Note that no validation is performed, but the method is trimmed of whitespace and converted to all upper case.
MIN_EXPIRES_MILLS - Static variable in class io.nats.client.BaseConsumeOptions
 
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
 
MINIMUM_SOCKET_READ_TIMEOUT_GT_CONNECTION_TIMEOUT - Static variable in class io.nats.client.Options
Constant used for calculating if a socket read timeout is large enough.
MINIMUM_SOCKET_WRITE_TIMEOUT_GT_CONNECTION_TIMEOUT - Static variable in class io.nats.client.Options
Constant used for calculating if a socket write timeout is large enough.
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.
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.
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.FeatureConfiguration.Builder
Sets the name of the store.
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.SourceBase.SourceBaseBuilder
 
name(String) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the name of the stream.
name - Variable in class io.nats.client.SubscribeOptions.Builder
 
name(String) - Method in class io.nats.client.SubscribeOptions.Builder
Sets the name of the consumer.
name - Variable in class io.nats.client.SubscribeOptions
 
NAME - Static variable in interface io.nats.client.support.ApiConstants
 
name(String) - Method in class io.nats.service.Endpoint.Builder
Set the name for the Endpoint, replacing any name already set.
name(String) - Method in class io.nats.service.ServiceBuilder
The simple name of the service
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_PENDING_BYTES - Static variable in interface io.nats.client.support.NatsJetStreamConstants
 
NATS_PENDING_MESSAGES - 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
Standard header name used to report the text of an error
NATS_SERVICE_ERROR_CODE - Static variable in class io.nats.service.ServiceMessage
Standard header name used to report the code of an error
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` placeholder 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
This is an internal class and is only public for access.
NatsRequestCompletableFuture(NatsRequestCompletableFuture.CancelAction, Duration, boolean) - Constructor for class io.nats.client.support.NatsRequestCompletableFuture
 
NatsRequestCompletableFuture.CancelAction - Enum in io.nats.client.support
 
NatsUri - Class in io.nats.client.support
 
NatsUri() - Constructor for class io.nats.client.support.NatsUri
 
NatsUri(URI) - Constructor for class io.nats.client.support.NatsUri
 
NatsUri(String) - Constructor for class io.nats.client.support.NatsUri
 
NatsUri(String, String) - Constructor for class io.nats.client.support.NatsUri
 
next() - Method in interface io.nats.client.BaseConsumerContext
Read the next message with max wait set to ms
next(Duration) - Method in interface io.nats.client.BaseConsumerContext
Read the next message with provided max wait
next(long) - Method in interface io.nats.client.BaseConsumerContext
Read the next message with provided max wait
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
 
nextGlobalSequence() - Static method in class io.nats.client.NUID
 
nextLong(Random, long) - Static method in class io.nats.client.support.RandomUtils
 
nextMessage() - Method in interface io.nats.client.FetchConsumer
Read the next message.
nextMessage(Duration) - Method in interface io.nats.client.IterableConsumer
Read the next message.
nextMessage(long) - Method in interface io.nats.client.IterableConsumer
Read the next message.
nextMessage(Duration) - Method in interface io.nats.client.JetStreamReader
Read the next message.
nextMessage(long) - Method in interface io.nats.client.JetStreamReader
Read the next message.
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.
nextSequence() - Method in class io.nats.client.NUID
Generate the next NUID string from this instance and return only the sequence portion.
nextServer() - Method in interface io.nats.client.ServerPool
Get the next server to try to connect to.
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_MESSAGES - Static variable in class io.nats.client.support.Status
 
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.
noResolveHostnames() - Method in class io.nats.client.Options.Builder
For the default server list provider, whether to resolve hostnames when building server list.
normalize(Long, int) - 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_FOUND_CODE - Static variable in class io.nats.client.support.Status
 
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 - Variable in class io.nats.client.BaseConsumeOptions.Builder
 
noWait() - Method in class io.nats.client.BaseConsumeOptions.Builder
 
noWait - Variable in class io.nats.client.BaseConsumeOptions
 
noWait() - Method in class io.nats.client.FetchConsumeOptions.Builder
Set no wait to true
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
noWaitExpiresIn(long) - Method in class io.nats.client.FetchConsumeOptions.Builder
Set no wait to true with an expiration, special behavior.
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
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
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
objectStoreManagement(ObjectStoreOptions) - Method in interface io.nats.client.Connection
Gets a context for managing Object Stores
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
Deprecated.
of(int) - Static method in enum io.nats.client.support.WebsocketFrameHeader.OpCode
 
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 request 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 options to use an SSL context 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
 
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.Builder
 
ordered - Variable in class io.nats.client.SubscribeOptions
 
OrderedConsumerConfiguration - Class in io.nats.client.api
 
OrderedConsumerConfiguration() - Constructor for class io.nats.client.api.OrderedConsumerConfiguration
OrderedConsumerConfiguration creation works like a builder.
OrderedConsumerConfiguration(String) - Constructor for class io.nats.client.api.OrderedConsumerConfiguration
 
OrderedConsumerConfiguration(JsonValue) - Constructor for class io.nats.client.api.OrderedConsumerConfiguration
 
OrderedConsumerContext - Interface in io.nats.client
The Ordered Consumer and it's context provide a simplification interface to the ordered consumer behavior.
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
 
OUTPUT_QUEUE_IS_FULL - Static variable in interface io.nats.client.support.NatsConstants
 

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
 
parseDateTimeNanos(String) - Static method in class io.nats.client.support.DateTimeUtils
Parses a long timestamp with nano precission in epoch UTC to the system default time-zone date time
parseDateTimeNanos(String, ZoneId) - Static method in class io.nats.client.support.DateTimeUtils
Parses a long timestamp with nano precission in epoch UTC to a Zoned date time
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
 
PAUSE_REMAINING - Static variable in interface io.nats.client.support.ApiConstants
 
PAUSE_UNTIL - Static variable in interface io.nats.client.support.ApiConstants
 
pauseConsumer(String, String, ZonedDateTime) - Method in interface io.nats.client.JetStreamManagement
Pauses a consumer.
PAUSED - Static variable in interface io.nats.client.support.ApiConstants
 
pauseUntil(ZonedDateTime) - Method in class io.nats.client.api.ConsumerConfiguration.Builder
Sets the time to pause the consumer until.
pauseUntil - Variable in class io.nats.client.api.ConsumerConfiguration
 
payload - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
payload(long) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
pedantic() - Method in class io.nats.client.Options.Builder
Turn on pedantic mode for the server, in relation to this connection.
peekNextServer() - Method in interface io.nats.client.ServerPool
Just take a peek at the next server without doing any processing.
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
 
Permission() - Constructor for class io.nats.client.support.JwtUtils.Permission
 
ping() - Method in class io.nats.service.Discovery
Make a ping request to all services running on the server.
ping(String) - Method in class io.nats.service.Discovery
Make a ping request only to services having the matching service name
ping(String, String) - Method in class io.nats.service.Discovery
Make a ping request to a specific instance of a service having matching service name and id
pingDispatcher(Dispatcher) - Method in class io.nats.service.ServiceBuilder
Optional dispatcher for the ping service
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
Ping response class forms the ping json payload, for example: {"id":"JlkwZvmHAXCQGwwxiPwaBJ","name":"MyService","version":"0.0.1","type":"io.nats.micro.v1.ping_response"}
placement(Placement) - Method in class io.nats.client.api.FeatureConfiguration.Builder
Sets the placement directive object
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_CREDENTIAL_PATH - Static variable in class io.nats.client.Options
Property used to set the path to a credentials file to be used in a FileAuthHandler
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_DISPATCHER_FACTORY_CLASS - Static variable in class io.nats.client.Options
Property used to set class name for the Dispatcher Factory dispatcherFactory.
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 whether to ignore discovered servers when connecting
PROP_IGNORE_DISCOVERED_SERVERS_PREFERRED - Static variable in class io.nats.client.Options
Preferred property used to set 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_KEYSTORE - Static variable in class io.nats.client.Options
Property for the keystore path used to create an SSLContext
PROP_KEYSTORE_PASSWORD - Static variable in class io.nats.client.Options
Property for the keystore password used to create an SSLContext
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_NO_RESOLVE_HOSTNAMES - 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_REPORT_NO_RESPONDERS - 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_POOL_IMPLEMENTATION_CLASS - Static variable in class io.nats.client.Options
Property used to set class name for ServerPool implementation serverPool.
PROP_SERVERS_POOL_IMPLEMENTATION_CLASS_PREFERRED - Static variable in class io.nats.client.Options
Preferred property used to set class name for ServerPool implementation serverPool.
PROP_SOCKET_READ_TIMEOUT_MS - Static variable in class io.nats.client.Options
Property used to configure a builder from a Properties object.
PROP_SOCKET_SO_LINGER - Static variable in class io.nats.client.Options
Property used to configure a builder from a Properties object.
PROP_SOCKET_WRITE_TIMEOUT - Static variable in class io.nats.client.Options
Property used to configure a builder from a Properties object.
PROP_SSL_CONTEXT_FACTORY_CLASS - Static variable in class io.nats.client.Options
Property used to set class name for the SSLContextFactory sslContextFactory.
PROP_STATISTICS_COLLECTOR - Static variable in class io.nats.client.Options
Property used to configure a builder from a Properties object.
PROP_STREAM_NAME - Static variable in class io.nats.client.PublishOptions
Property used to configure a builder from a Properties object.
PROP_TIME_TRACE_LOGGER - Static variable in class io.nats.client.Options
Property used to configure a builder from a Properties object.
PROP_TLS_ALGORITHM - Static variable in class io.nats.client.Options
Property for the algorithm used to create an SSLContext
PROP_TLS_FIRST - Static variable in class io.nats.client.Options
Property used to configure tls first behavior This property is a boolean flag, telling connections whether to do TLS upgrade first, before INFO
PROP_TOKEN - Static variable in class io.nats.client.Options
Property used to configure a builder from a Properties object.
PROP_TRUSTSTORE - Static variable in class io.nats.client.Options
Property for the truststore path used to create an SSLContext
PROP_TRUSTSTORE_PASSWORD - Static variable in class io.nats.client.Options
Property for the truststore password used to create an SSLContext
PROP_URL - Static variable in class io.nats.client.Options
Property used to configure a builder from a Properties object.
PROP_USE_DISPATCHER_WITH_EXECUTOR - Static variable in class io.nats.client.Options
Property used to a dispatcher that dispatches messages via the executor service instead of with a blocking call.
PROP_USE_OLD_REQUEST_STYLE - Static variable in class io.nats.client.Options
Property used to configure a builder from a Properties object.
PROP_USE_TIMEOUT_EXCEPTION - Static variable in class io.nats.client.Options
Property used to throw TimeoutException on timeout instead of CancellationException.
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
This property is used to enable support for UTF8 subjects.
PROP_VERBOSE - Static variable in class io.nats.client.Options
Property used to configure a builder from a Properties object.
properties(Properties) - Method in class io.nats.client.Options.Builder
Add settings defined in the properties object
PROTO - Static variable in interface io.nats.client.support.ApiConstants
 
proxy(Proxy) - Method in class io.nats.client.Options.Builder
Define a proxy to use when connecting.
pub - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
pub(JwtUtils.Permission) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
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, Headers, 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(String, String, Headers, 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, Headers, 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(String, Headers, 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, Headers, 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(String, Headers, 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
PullRequestOptions(PullRequestOptions.Builder) - Constructor for class io.nats.client.PullRequestOptions
 
PullRequestOptions.Builder - Class in io.nats.client
 
pullStatusError(Connection, JetStreamSubscription, Status) - Method in interface io.nats.client.ErrorListener
Called when a pull subscription receives a status message that indicates either the subscription cannot continue or the pull request cannot be processed.
pullStatusWarning(Connection, JetStreamSubscription, Status) - Method in interface io.nats.client.ErrorListener
Called when a pull subscription receives a status message that indicates either the subscription or pull might be problematic
PullSubscribeOptions - Class in io.nats.client
The PullSubscribeOptions class specifies the options for subscribing with JetStream enabled servers.
PullSubscribeOptions.Builder - Class in io.nats.client
PullSubscribeOptions can be created using a Builder.
purge(String) - Method in interface io.nats.client.KeyValue
Purge all values/history from the specific key
purge(String, long) - Method in interface io.nats.client.KeyValue
Purge all values/history from the specific key iff the key exists and its last revision matches the expected
purge() - Method in interface io.nats.client.StreamContext
Purge stream messages
purge(PurgeOptions) - Method in interface io.nats.client.StreamContext
Purge messages for a specific subject
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
 
put(String, Map<String, String>) - Method in class io.nats.client.support.JsonValueUtils.MapBuilder
 

Q

QUEUE_GROUP - Static variable in interface io.nats.client.support.ApiConstants
 
queueGroup(String) - Method in class io.nats.service.Endpoint.Builder
Set the queueGroup for the Endpoint, overriding the system default queue group

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
 
read(byte[], int, int) - Method in class io.nats.client.support.WebsocketFrameHeader
Serializes this WebsocketFrameHeader into a buffer.
read(byte[]) - Method in class io.nats.client.support.WebsocketInputStream
 
read(byte[], int, int) - Method in class io.nats.client.support.WebsocketInputStream
 
read() - Method in class io.nats.client.support.WebsocketInputStream
 
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
 
readNanosList(JsonValue, String, boolean) - 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
 
readStringEmptyAsNull(JsonValue, 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.
readStringStringMap(JsonValue, String) - Static method in class io.nats.client.support.JsonValueUtils
 
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.
registerRead(long) - Method in interface io.nats.client.StatisticsCollector
Registers a Socket read by this connection.
registerWrite(long) - Method in interface io.nats.client.StatisticsCollector
Registers a Socket write by this connection.
reHost(String) - Method in class io.nats.client.support.NatsUri
 
removeConnectionListener(ConnectionListener) - Method in interface io.nats.client.Connection
Detach a ConnectionListioner.
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(ReplayPolicy) - Method in class io.nats.client.api.OrderedConsumerConfiguration
Sets the replay policy of the OrderedConsumerConfiguration.
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.FeatureConfiguration.Builder
Sets the number of replicas a message must be stored on in the configuration.
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
 
reportNoResponders() - Method in class io.nats.client.Options.Builder
 
republish(Republish) - Method in class io.nats.client.api.KeyValueConfiguration.Builder
Sets the Republish options
Republish - Class in io.nats.client.api
Republish Configuration
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 config 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(String, Headers, 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(String, Headers, 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
 
REQUEST_TIMEOUT_CODE - Static variable in class io.nats.client.support.Status
 
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(String, Headers, 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(String, String, String) - Static method in class io.nats.client.support.Validator
 
required(T, 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
Reset the statistics for the endpoints
resolveHostToIps(String) - Method in interface io.nats.client.ServerPool
Resolve a host name to an ip address
resp - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
resp(JwtUtils.ResponsePermission) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
respond(Connection, byte[]) - Method in class io.nats.service.ServiceMessage
Respond to a service request message.
respond(Connection, String) - Method in class io.nats.service.ServiceMessage
Respond to a service request message.
respond(Connection, JsonSerializable) - Method in class io.nats.service.ServiceMessage
Respond to a service request message.
respond(Connection, byte[], Headers) - Method in class io.nats.service.ServiceMessage
Respond to a service request message with a response and custom headers.
respond(Connection, String, Headers) - Method in class io.nats.service.ServiceMessage
Respond to a service request message with a response and custom headers.
respond(Connection, JsonSerializable, Headers) - Method in class io.nats.service.ServiceMessage
Respond to a service request message.
respondStandardError(Connection, String, int) - Method in class io.nats.service.ServiceMessage
Respond to a service request message with a standard error.
RESPONSE - Static variable in interface io.nats.client.support.ApiConstants
 
ResponsePermission() - Constructor for class io.nats.client.support.JwtUtils.ResponsePermission
 
resumeConsumer(String, String) - Method in interface io.nats.client.JetStreamManagement
Resumes a paused consumer.
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
 
schemaDispatcher(Dispatcher) - Method in class io.nats.service.ServiceBuilder
Optional dispatcher for the schema service
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.
SECURE_PROTOCOLS - Static variable in interface io.nats.client.support.NatsConstants
 
SECURE_WEBSOCKET_PROTOCOL - Static variable in interface io.nats.client.support.NatsConstants
 
sendUrgentData(int) - Method in class io.nats.client.support.WebSocket
 
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.
SerializableConsumeOptions - Class in io.nats.client.support
 
SerializableConsumeOptions() - Constructor for class io.nats.client.support.SerializableConsumeOptions
 
SerializableConsumeOptions(ConsumeOptions) - Constructor for class io.nats.client.support.SerializableConsumeOptions
 
SerializableConsumeOptions(ConsumeOptions.Builder) - Constructor for class io.nats.client.support.SerializableConsumeOptions
 
SerializableConsumerConfiguration - Class in io.nats.client.support
 
SerializableConsumerConfiguration() - Constructor for class io.nats.client.support.SerializableConsumerConfiguration
 
SerializableConsumerConfiguration(ConsumerConfiguration) - Constructor for class io.nats.client.support.SerializableConsumerConfiguration
 
SerializableConsumerConfiguration(ConsumerConfiguration.Builder) - Constructor for class io.nats.client.support.SerializableConsumerConfiguration
 
SerializableFetchConsumeOptions - Class in io.nats.client.support
 
SerializableFetchConsumeOptions() - Constructor for class io.nats.client.support.SerializableFetchConsumeOptions
 
SerializableFetchConsumeOptions(FetchConsumeOptions) - Constructor for class io.nats.client.support.SerializableFetchConsumeOptions
 
SerializableFetchConsumeOptions(FetchConsumeOptions.Builder) - Constructor for class io.nats.client.support.SerializableFetchConsumeOptions
 
SerializableOrderedConsumerConfiguration - Class in io.nats.client.support
 
SerializableOrderedConsumerConfiguration() - Constructor for class io.nats.client.support.SerializableOrderedConsumerConfiguration
 
SerializableOrderedConsumerConfiguration(OrderedConsumerConfiguration) - Constructor for class io.nats.client.support.SerializableOrderedConsumerConfiguration
 
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
 
SERVER_SHUTDOWN - Static variable in class io.nats.client.support.Status
 
ServerInfo - Class in io.nats.client.api
 
ServerInfo(String) - Constructor for class io.nats.client.api.ServerInfo
 
serverPool(ServerPool) - Method in class io.nats.client.Options.Builder
Set the ServerPool implementation for connections to use instead of the default implementation
ServerPool - Interface in io.nats.client
Allows the developer to provide the list of servers to try for connecting/reconnecting
servers(String[]) - Method in class io.nats.client.Options.Builder
Add an array of servers to the list of known servers.
ServerVersion - Class in io.nats.client.support
 
ServerVersion(String) - Constructor for class io.nats.client.support.ServerVersion
 
Service - Class in io.nats.service
The Services Framework introduces a higher-level API for implementing services with NATS.
ServiceBuilder - Class in io.nats.service
Build a Service using a fluent builder.
ServiceBuilder() - Constructor for class io.nats.service.ServiceBuilder
 
ServiceEndpoint - Class in io.nats.service
The ServiceEndpoint represents the working Endpoint It allows the endpoint to be grouped. It is where you can define the handler that will respond to incoming requests It allows you to define it's dispatcher if desired giving granularity to threads running subscribers It gives you a hook to provide custom data for the EndpointStats
ServiceEndpoint.Builder - Class in io.nats.service
Build an ServiceEndpoint using a fluent builder.
ServiceMessage - Class in io.nats.service
Service Message is service specific object that exposes the service relevant parts of a NATS Message.
ServiceMessageHandler - Interface in io.nats.service
Interface used to receive service request message.
ServiceResponse - Class in io.nats.service
Base class for service responses Info, Ping and Stats
ServiceResponse(String, String, String, String, Map<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
 
setAdvancedTracking(boolean) - Method in interface io.nats.client.StatisticsCollector
Sets whether advanced stats are/should be tracked.
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
setConsumeOptions(ConsumeOptions) - Method in class io.nats.client.support.SerializableConsumeOptions
 
setConsumerConfiguration(ConsumerConfiguration) - Method in class io.nats.client.support.SerializableConsumerConfiguration
 
setDefaultTrustManagerDelegate(SSLUtils.TrustManagerDelegate) - Static method in class io.nats.client.support.SSLUtils
 
setFetchConsumeOptions(FetchConsumeOptions) - Method in class io.nats.client.support.SerializableFetchConsumeOptions
 
setInboxSupplier(Supplier<String>) - Method in class io.nats.service.Discovery
Override the normal inbox with a custom inbox to support you security model
setKeepAlive(boolean) - Method in class io.nats.client.support.WebSocket
 
setOldRequestStyle(boolean) - Method in class io.nats.client.Options
Deprecated.
Use Builder
setOOBInline(boolean) - Method in class io.nats.client.support.WebSocket
 
setOrderedConsumerConfiguration(OrderedConsumerConfiguration) - Method in class io.nats.client.support.SerializableOrderedConsumerConfiguration
 
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.
setPerformancePreferences(int, int, int) - Method in class io.nats.client.support.WebSocket
 
setReceiveBufferSize(int) - Method in class io.nats.client.support.WebSocket
 
setReuseAddress(boolean) - Method in class io.nats.client.support.WebSocket
 
setSendBufferSize(int) - Method in class io.nats.client.support.WebSocket
 
setSoLinger(boolean, int) - Method in class io.nats.client.support.WebSocket
 
setSoTimeout(int) - Method in class io.nats.client.support.WebSocket
 
setTcpNoDelay(boolean) - Method in class io.nats.client.support.WebSocket
 
setTrafficClass(int) - Method in class io.nats.client.support.WebSocket
 
shutdownInput() - Method in class io.nats.client.support.WebSocket
 
shutdownOutput() - Method in class io.nats.client.support.WebSocket
 
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
 
size() - Method in class io.nats.client.support.WebsocketFrameHeader
 
size(byte[], int) - Static method in class io.nats.client.support.WebsocketFrameHeader
Introspects the first 2 bytes of buffer at the specified offset to determine how large the entire header is.
slowConsumerDetected(Connection, Consumer) - Method in interface io.nats.client.ErrorListener
Called by the connection when a "slow" consumer is detected.
socketReadTimeoutMillis(int) - Method in class io.nats.client.Options.Builder
Set the timeout to use around socket reads
socketSoLinger(int) - Method in class io.nats.client.Options.Builder
Set the value of the socket SO LINGER property in seconds.
socketWriteTimeout(Connection) - Method in interface io.nats.client.ErrorListener
Called by the connection when a low level socket write timeout occurs.
socketWriteTimeout(long) - Method in class io.nats.client.Options.Builder
Set the timeout to use around socket writes
socketWriteTimeout(Duration) - Method in class io.nats.client.Options.Builder
Set the timeout to use around socket writes
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(String) - Method in class io.nats.client.api.SubjectTransform.Builder
Set the Published Subject-matching filter
SOURCE - Static variable in interface io.nats.client.support.ApiConstants
 
Source.Builder - Class in io.nats.client.api
 
SourceBase - Class in io.nats.client.api
 
SourceBase.SourceBaseBuilder<T> - Class in io.nats.client.api
 
SourceBaseBuilder() - Constructor for class io.nats.client.api.SourceBase.SourceBaseBuilder
 
SourceBaseBuilder(SourceBase) - Constructor for class io.nats.client.api.SourceBase.SourceBaseBuilder
 
SourceInfo - Class in io.nats.client.api
Information about a stream being sourced
sourceName(String) - Method in class io.nats.client.api.SourceBase.SourceBaseBuilder
 
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
 
src - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
src(String...) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
SRV_INFO - Static variable in class io.nats.service.Service
 
SRV_PING - 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.
sslContextFactory(SSLContextFactory) - Method in class io.nats.client.Options.Builder
Set the factory that provides the ssl context.
SSLUtils - Class in io.nats.client.support
 
SSLUtils() - Constructor for class io.nats.client.support.SSLUtils
 
SSLUtils.TrustManagerDelegate - Interface in io.nats.client.support
 
STANDARD_MIN - Static variable in class io.nats.client.api.ConsumerConfiguration
 
STAR - Static variable in interface io.nats.client.support.NatsConstants
 
start(String) - Method in interface io.nats.client.Dispatcher
Start the dispatcher with a given id.
start - Variable in class io.nats.client.support.JwtUtils.TimeRange
 
STARTED - Static variable in interface io.nats.client.support.ApiConstants
 
startSeq - Variable in class io.nats.client.api.ConsumerConfiguration
 
startSeq(long) - Method in class io.nats.client.api.SourceBase.SourceBaseBuilder
 
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.
startSequence(long) - Method in class io.nats.client.api.OrderedConsumerConfiguration
Sets the start sequence of the OrderedConsumerConfiguration.
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
Start the 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
 
startTime(ZonedDateTime) - Method in class io.nats.client.api.OrderedConsumerConfiguration
Sets the start time of the OrderedConsumerConfiguration.
startTime(ZonedDateTime) - Method in class io.nats.client.api.SourceBase.SourceBaseBuilder
 
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().
statisticsCollector(StatisticsCollector) - Method in class io.nats.client.Options.Builder
Set the StatisticsCollector to collect connection metrics.
StatisticsCollector - Interface in io.nats.client
A collector for connection metrics.
STATS - Static variable in interface io.nats.client.support.ApiConstants
 
stats() - Method in class io.nats.service.Discovery
Make a stats request to all services running on the server.
stats(String) - Method in class io.nats.service.Discovery
Make a stats request only to services having the matching service name
stats(String, String) - Method in class io.nats.service.Discovery
Make a stats request to a specific instance of a service having matching service name and id
statsDataSupplier(Supplier<JsonValue>) - Method in class io.nats.service.ServiceEndpoint.Builder
Set the EndpointStats data supplier for this ServiceEndpoint
statsDispatcher(Dispatcher) - Method in class io.nats.service.ServiceBuilder
Optional dispatcher for the stats service
StatsResponse - Class in io.nats.service
Stats response class forms the stats json payload, for example: { "id": "ZP1oVevzLGu4CBORMXKKke", "name": "Service1", "version": "0.0.1", "endpoints": [{ "name": "SortEndpointAscending", "subject": "sort.ascending", "num_requests": 1, "processing_time": 538900, "average_processing_time": 538900, "started": "2023-08-15T13:51:41.318000000Z" }, { "name": "SortEndpointDescending", "subject": "sort.descending", "num_requests": 1, "processing_time": 88400, "average_processing_time": 88400, "started": "2023-08-15T13:51:41.318000000Z" }, { "name": "EchoEndpoint", "subject": "echo", "num_requests": 5, "processing_time": 1931600, "average_processing_time": 386320, "data": { "idata": 2, "sdata": "s-996409223" }, "started": "2023-08-15T13:51:41.318000000Z" }], "started": "2023-08-15T13:51:41.319000000Z", "type": "io.nats.micro.v1.stats_response" }
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.BaseMessageConsumer
Stop the MessageConsumer from asking for any more messages from the server.
stop() - Method in interface io.nats.client.JetStreamReader
Stop getting more messages from the server.
stop() - Method in interface io.nats.client.MessageConsumer
Stop the MessageConsumer from asking for any more messages from the server.
stop() - Method in class io.nats.service.Service
Stop the service by draining.
stop(Throwable) - Method in class io.nats.service.Service
Stop the service by draining.
stop(boolean) - Method in class io.nats.service.Service
Stop the service, optionally draining.
stop(boolean, Throwable) - Method in class io.nats.service.Service
Stop the service, optionally draining and optionally with an error cause
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.FeatureConfiguration.Builder
Sets the storage type in the configuration.
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 - Variable in class io.nats.client.SubscribeOptions.Builder
 
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.
StreamContext - Interface in io.nats.client
The Stream Context provide a set of operations for managing the stream and its contents and for managing consumers.
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 - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
sub(JwtUtils.Permission) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
SUB_SP_BYTES - Static variable in interface io.nats.client.support.NatsConstants
 
Subject - Class in io.nats.client.api
 
Subject(String, long) - Constructor for class io.nats.client.api.Subject
 
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
Set the subject for the Endpoint, replacing any subject already set.
SUBJECT_TRANSFORM - Static variable in interface io.nats.client.support.ApiConstants
 
SUBJECT_TRANSFORMS - Static variable in interface io.nats.client.support.ApiConstants
 
subjects(String...) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the subjects in the StreamConfiguration.
subjects(Collection<String>) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the subjects in the StreamConfiguration.
SUBJECTS - Static variable in interface io.nats.client.support.ApiConstants
 
SUBJECTS_FILTER - Static variable in interface io.nats.client.support.ApiConstants
 
subjectTransform(SubjectTransform) - Method in class io.nats.client.api.StreamConfiguration.Builder
Sets the subjectTransform config object
SubjectTransform - Class in io.nats.client.api
SubjectTransform
SubjectTransform(String, String) - Constructor for class io.nats.client.api.SubjectTransform
Construct a 'SubjectTransform' object
SubjectTransform.Builder - Class in io.nats.client.api
Placement can be created using a Builder.
subjectTransforms(SubjectTransform...) - Method in class io.nats.client.api.SourceBase.SourceBaseBuilder
 
subjectTransforms(List<SubjectTransform>) - Method in class io.nats.client.api.SourceBase.SourceBaseBuilder
 
subs - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
subs(long) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
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
subscribe(String, Dispatcher, MessageHandler, PullSubscribeOptions) - Method in interface io.nats.client.JetStream
Create an asynchronous 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, 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.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
 
supplyMessage(String, Connection, Consumer, Subscription, Object...) - Method in interface io.nats.client.ErrorListener
General message producing function which understands the possible parameters to listener calls.
supportUTF8Subjects() - Method in class io.nats.client.Options.Builder
The client protocol is not clear about the encoding for subject names.
supportUTF8Subjects() - Method in class io.nats.client.Options
 

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
 
tags - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
tags(String...) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
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 instructs the server to stop redelivery of this message without acknowledging it as successfully processed.
THRESHOLD_PERCENT - Static variable in interface io.nats.client.support.ApiConstants
 
thresholdPercent - Variable in class io.nats.client.BaseConsumeOptions.Builder
 
thresholdPercent(int) - Method in class io.nats.client.BaseConsumeOptions.Builder
Set the threshold percent of max bytes (if max bytes is specified) or messages that will trigger issuing pull requests to keep messages flowing.
thresholdPercent - Variable in class io.nats.client.BaseConsumeOptions
 
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
 
TimeRange(String, String) - Constructor for class io.nats.client.support.JwtUtils.TimeRange
 
times - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
times(List<JwtUtils.TimeRange>) - Method in class io.nats.client.support.JwtUtils.UserClaim
 
TIMESTAMP - Static variable in interface io.nats.client.support.ApiConstants
 
timeTraceLogger(TimeTraceLogger) - Method in class io.nats.client.Options.Builder
Set the TimeTraceLogger to receive trace events related to this connection.
TimeTraceLogger - Interface in io.nats.client
 
TLS - Static variable in interface io.nats.client.support.ApiConstants
 
TLS_AVAILABLE - Static variable in interface io.nats.client.support.ApiConstants
 
TLS_PROTOCOL - Static variable in interface io.nats.client.support.NatsConstants
 
TLS_REQUIRED - Static variable in interface io.nats.client.support.ApiConstants
 
tlsAlgorithm(String) - Method in class io.nats.client.Options.Builder
 
tlsFirst() - Method in class io.nats.client.Options.Builder
Set TLS Handshake First behavior on.
toBase64Url(byte[]) - Static method in class io.nats.client.support.Encoding
Deprecated.
Use Encoding.base64UrlEncodeToString(byte[]) instead. base64 url encode a byte array to a string
toBase64Url(String) - Static method in class io.nats.client.support.Encoding
Deprecated.
Use Encoding.base64UrlEncodeToString(String) instead. base64 url encode a string to a string
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.ConsumerLimits
 
toJson() - Method in class io.nats.client.api.ConsumerPauseRequest
 
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.FeatureConfiguration
 
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.OrderedConsumerConfiguration
Returns a JSON representation of this ordered consumer configuration.
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.SourceBase
Returns a JSON representation of this mirror
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.api.SubjectTransform
 
toJson() - Method in class io.nats.client.BaseConsumeOptions
 
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.client.support.JsonValueUtils.ArrayBuilder
 
toJson() - Method in class io.nats.client.support.JsonValueUtils.MapBuilder
 
toJson() - Method in class io.nats.client.support.JwtUtils.Permission
 
toJson() - Method in class io.nats.client.support.JwtUtils.ResponsePermission
 
toJson() - Method in class io.nats.client.support.JwtUtils.TimeRange
 
toJson() - Method in class io.nats.client.support.JwtUtils.UserClaim
 
toJson() - Method in class io.nats.service.Endpoint
 
toJson() - Method in class io.nats.service.EndpointStats
 
toJson() - Method in class io.nats.service.ServiceResponse
 
toJsonValue() - Method in class io.nats.client.api.Error
 
toJsonValue() - Method in class io.nats.client.api.FeatureConfiguration
 
toJsonValue() - Method in class io.nats.client.api.KeyValueConfiguration
 
toJsonValue() - Method in interface io.nats.client.support.JsonSerializable
 
toJsonValue() - Method in class io.nats.client.support.JsonValue
 
toJsonValue() - Method in class io.nats.client.support.JsonValueUtils.ArrayBuilder
 
toJsonValue() - Method in class io.nats.client.support.JsonValueUtils.MapBuilder
 
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 enum io.nats.client.api.CompressionOption
 
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 class io.nats.client.api.SourceBase
 
toString() - Method in class io.nats.client.api.SourceInfo
 
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.StreamInfo
 
toString() - Method in class io.nats.client.api.StreamState
 
toString() - Method in class io.nats.client.api.Subject
 
toString() - Method in class io.nats.client.api.SubjectTransform
 
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() - Method in class io.nats.client.support.HttpRequest
 
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.NatsUri
 
toString() - Method in class io.nats.client.support.ServerVersion
 
toString() - Method in class io.nats.client.support.Status
 
toString() - Method in class io.nats.service.Endpoint
 
toString() - Method in class io.nats.service.EndpointStats
 
toString() - Method in class io.nats.service.Group
 
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
 
trace(String, Object...) - Method in interface io.nats.client.TimeTraceLogger
 
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
 
truststorePassword(char[]) - Method in class io.nats.client.Options.Builder
 
truststorePath(String) - Method in class io.nats.client.Options.Builder
 
ttl(Duration) - Method in class io.nats.client.api.FeatureConfiguration.Builder
Sets the maximum age for a value in this configuration.
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 - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
TYPE - Static variable in class io.nats.service.InfoResponse
 
TYPE - Static variable in class io.nats.service.PingResponse
 
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 when an unhandled status is received in a push subscription.
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
 
updateConsumer(String, ConsumerConfiguration) - Method in interface io.nats.client.JetStreamManagement
Updates an existing consumer.
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.
uri(String) - Method in class io.nats.client.support.HttpRequest
This sets the RAW URI, you may need to perform URL encoding before passing into this method.
uriDecode(String) - Static method in class io.nats.client.support.Encoding
 
useDispatcherWithExecutor() - Method in class io.nats.client.Options.Builder
Instruct dispatchers to dispatch all messages as a task, instead of directly from dispatcher thread
useDispatcherWithExecutor() - Method in class io.nats.client.Options
 
UserClaim(String) - Constructor for class io.nats.client.support.JwtUtils.UserClaim
 
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.
useTimeoutException() - Method in class io.nats.client.Options.Builder
Throw TimeoutException on timeout instead of CancellationException?
useTimeoutException() - Method in class io.nats.client.Options
Get whether to throw TimeoutException on timeout instead of CancellationException.
useTimeoutException() - Method in class io.nats.client.support.NatsRequestCompletableFuture
 

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
 
validateKvKeysWildcardAllowedRequired(List<String>) - Static method in class io.nats.client.support.Validator
 
validateKvKeyWildcardAllowedRequired(String) - Static method in class io.nats.client.support.Validator
 
validateMaxBucketBytes(long) - Static method in class io.nats.client.support.Validator
 
validateMaxBytes(long) - Static method in class io.nats.client.support.Validator
 
validateMaxConsumers(long) - Static method in class io.nats.client.support.Validator
 
validateMaxHistory(int) - Static method in class io.nats.client.support.Validator
 
validateMaxLength(String, int, boolean, String) - Static method in class io.nats.client.support.Validator
 
validateMaxMessages(long) - Static method in class io.nats.client.support.Validator
 
validateMaxMessageSize(long) - Static method in class io.nats.client.support.Validator
 
validateMaxMessagesPerSubject(long) - Static method in class io.nats.client.support.Validator
 
validateMaxValueSize(long) - Static method in class io.nats.client.support.Validator
 
validateMustMatchIfBothSupplied(String, String, NatsJetStreamClientError) - Static method in class io.nats.client.support.Validator
 
validateNonWildcardKvKey(String, String, boolean) - Static method in class io.nats.client.support.Validator
 
validateNonWildcardKvKeyRequired(String) - Static method in class io.nats.client.support.Validator
 
validateNotNegative(long, String) - Static method in class io.nats.client.support.Validator
 
validateNotNull(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
 
validateSubjectTerm(String, String, boolean) - Static method in class io.nats.client.support.Validator
 
validateWildcardKvKey(String, String, boolean) - Static method in class io.nats.client.support.Validator
 
Validator - Class in io.nats.client.support
 
valueOf(String) - Static method in enum io.nats.client.api.AckPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.nats.client.api.CompressionOption
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.NatsRequestCompletableFuture.CancelAction
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.
valueOf(String) - Static method in enum io.nats.client.support.WebsocketFrameHeader.OpCode
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.CompressionOption
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.NatsRequestCompletableFuture.CancelAction
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.
values() - Static method in enum io.nats.client.support.WebsocketFrameHeader.OpCode
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.client.support.HttpRequest
Note that no validation is performed on the version.
version - Variable in class io.nats.client.support.JwtUtils.UserClaim
 
version(String) - Method in class io.nats.service.ServiceBuilder
The simple version of the service.
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(String, KeyValueWatcher, long, KeyValueWatchOption...) - Method in interface io.nats.client.KeyValue
Watch updates for a specific key, starting at a specific revision.
watch(List<String>, KeyValueWatcher, KeyValueWatchOption...) - Method in interface io.nats.client.KeyValue
Watch updates for specific keys.
watch(List<String>, KeyValueWatcher, long, KeyValueWatchOption...) - Method in interface io.nats.client.KeyValue
Watch updates for specific keys, starting at a specific revision.
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.
watchAll(KeyValueWatcher, long, KeyValueWatchOption...) - Method in interface io.nats.client.KeyValue
Watch updates for all keys starting from a specific revision
Watcher<T> - Interface in io.nats.client.api
Use the Watcher interface to watch for updates
WebSocket - Class in io.nats.client.support
 
WebSocket(Socket, String, List<Consumer<HttpRequest>>) - Constructor for class io.nats.client.support.WebSocket
 
WEBSOCKET_PROTOCOL - Static variable in interface io.nats.client.support.NatsConstants
 
WebsocketFrameHeader - Class in io.nats.client.support
 
WebsocketFrameHeader() - Constructor for class io.nats.client.support.WebsocketFrameHeader
 
WebsocketFrameHeader.OpCode - Enum in io.nats.client.support
 
WebsocketInputStream - Class in io.nats.client.support
 
WebsocketInputStream(InputStream) - Constructor for class io.nats.client.support.WebsocketInputStream
 
WebsocketOutputStream - Class in io.nats.client.support
 
WebsocketOutputStream(OutputStream, boolean) - Constructor for class io.nats.client.support.WebsocketOutputStream
 
withMask(int) - Method in class io.nats.client.support.WebsocketFrameHeader
 
withNoMask() - Method in class io.nats.client.support.WebsocketFrameHeader
 
withOp(WebsocketFrameHeader.OpCode, boolean) - Method in class io.nats.client.support.WebsocketFrameHeader
 
withPayloadLength(long) - Method in class io.nats.client.support.WebsocketFrameHeader
 
write(byte[], int, int) - Method in class io.nats.client.support.WebsocketFrameHeader
Overwrite internal frame header content with input buffer.
write(byte[]) - Method in class io.nats.client.support.WebsocketOutputStream
 
write(int) - Method in class io.nats.client.support.WebsocketOutputStream
 
write(byte[], int, int) - Method in class io.nats.client.support.WebsocketOutputStream
NOTE: the buffer will be modified if masking is enabled and the length is greater than 1432.
WSS_PROTOCOLS - Static variable in interface io.nats.client.support.NatsConstants
 

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, Supplier<String>) - 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 Q R S T U V W Z _ 
Skip navigation links