- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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 - 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(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
-
- 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 - 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_CONSUME_OPTIONS - Static variable in class io.nats.client.ConsumeOptions
-
- DEFAULT_DATA_PORT_TYPE - Static variable in class io.nats.client.Options
-
- DEFAULT_DELIVER_POLICY - Static variable in class io.nats.client.api.ConsumerConfiguration
-
- DEFAULT_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_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_RECONNECT_JITTER_TLS - Static variable in class io.nats.client.Options
-
- DEFAULT_RECONNECT_WAIT - Static variable in class io.nats.client.Options
-
Default wait time before attempting reconnection to the same server, see
getReconnectWait()
.
- DEFAULT_REPLAY_POLICY - Static variable in class io.nats.client.api.ConsumerConfiguration
-
- DEFAULT_REQUEST_CLEANUP_INTERVAL - Static variable in class io.nats.client.Options
-
Default interval to clean up cancelled/timed out requests.
- DEFAULT_SERVICE_PREFIX - Static variable in class io.nats.service.Service
-
- DEFAULT_SOCKET_WRITE_TIMEOUT - Static variable in class io.nats.client.Options
-
- 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
-
- 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
-
- 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
-
- 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
-
- getEndpointStatsList() - Method in class io.nats.service.StatsResponse
-
- getEntryCount() - Method in class io.nats.client.api.KeyValueStatus
-
Get the number of total entries in the bucket, including historical entries
- getError() - Method in class io.nats.client.api.ApiResponse
-
- getErrorCode() - Method in class io.nats.client.api.ApiResponse
-
- getErrorCode() - Method in exception io.nats.client.JetStreamApiException
-
Get the error code from the response
- getErrorDescription() - Method in exception io.nats.client.JetStreamApiException
-
Get the description from the response
- getErrorListener() - Method in class io.nats.client.Options
-
- getErrorObject() - Method in class io.nats.client.api.ApiResponse
-
- getErrors() - Method in class io.nats.client.api.ApiStats
-
API requests that resulted in an error response
- 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
-
- 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
-
- 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
-
- getMaxValueSize() - Method in class io.nats.client.api.KeyValueStatus
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- statisticsCollector(StatisticsCollector) - Method in class io.nats.client.Options.Builder
-
- 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
-
- 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
-