Skip navigation links
java-nats-streaming:0.4.1
A B C D G I M O P S T U 

A

ack() - Method in class io.nats.stan.Message
Acknowledges the message to the STAN cluster.
AckHandler - Interface in io.nats.stan
A callback interface for handling STAN message acks.

B

build() - Method in class io.nats.stan.SubscriptionOptions.Builder
Creates a SubscriptionOptions instance based on the current configuration.
Builder() - Constructor for class io.nats.stan.SubscriptionOptions.Builder
 

C

close() - Method in interface io.nats.stan.Connection
Closes the connection.
close() - Method in interface io.nats.stan.Subscription
Removes interest in the Subscription's subject immediately.
Connection - Interface in io.nats.stan
A Connection object is a client's active connection to the STAN streaming data system.
ConnectionFactory - Class in io.nats.stan
A ConnectionFactory object encapsulates a set of connection configuration options.
ConnectionFactory() - Constructor for class io.nats.stan.ConnectionFactory
 
ConnectionFactory(String, String) - Constructor for class io.nats.stan.ConnectionFactory
 
createConnection() - Method in class io.nats.stan.ConnectionFactory
Creates an active connection to a NATS Streaming server.

D

deliverAllAvailable() - Method in class io.nats.stan.SubscriptionOptions.Builder
Specifies that message delivery should begin at the oldest available message for this subject.

G

getAckTimeout() - Method in class io.nats.stan.ConnectionFactory
Returns the ACK timeout.
getAckWait() - Method in class io.nats.stan.SubscriptionOptions
Returns the timeout for waiting for an ACK from the cluster's point of view for delivered messages.
getClientId() - Method in class io.nats.stan.ConnectionFactory
Returns the client ID of the current STAN session.
getClusterId() - Method in class io.nats.stan.ConnectionFactory
Returns the cluster ID of the current STAN session.
getConnectTimeout() - Method in class io.nats.stan.ConnectionFactory
Returns the connect timeout interval in milliseconds.
getCrc32() - Method in class io.nats.stan.Message
Returns the CRC32 checksum for the message.
getData() - Method in class io.nats.stan.Message
Returns the message payload data.
getDiscoverPrefix() - Method in class io.nats.stan.ConnectionFactory
Returns the currently configured discover prefix string.
getDurableName() - Method in class io.nats.stan.SubscriptionOptions
Returns the name of the durable subscriber.
getInstant() - Method in class io.nats.stan.Message
Returns timestamp as an Instant.
getMaxInFlight() - Method in class io.nats.stan.SubscriptionOptions
Returns the maximum number of messages the cluster will send without an ACK.
getMaxPubAcksInFlight() - Method in class io.nats.stan.ConnectionFactory
Returns the maximum number of publish ACKs that may be in flight at any point in time.
getNatsConnection() - Method in interface io.nats.stan.Connection
Returns the underlying NATS connection.
getNatsConnection() - Method in class io.nats.stan.ConnectionFactory
Returns the NATS Connection, if set.
getNatsUrl() - Method in class io.nats.stan.ConnectionFactory
Returns the NATS connection URL.
getOptions() - Method in interface io.nats.stan.Subscription
Returns the SubscriptionOptions object for this Subscription object.
getQueue() - Method in interface io.nats.stan.Subscription
Returns the optional queue group name.
getReplyTo() - Method in class io.nats.stan.Message
Returns the reply subject.
getSequence() - Method in class io.nats.stan.Message
Returns the message sequence number.
getStartAt() - Method in class io.nats.stan.SubscriptionOptions
Returns the desired start position for the message stream.
getStartSequence() - Method in class io.nats.stan.SubscriptionOptions
Returns the desired start sequence position.
getStartTime() - Method in class io.nats.stan.SubscriptionOptions
Returns the desired start time position.
getStartTime(TimeUnit) - Method in class io.nats.stan.SubscriptionOptions
Returns the desired start time position in the requested units.
getSubject() - Method in class io.nats.stan.Message
Returns the message subject.
getSubject() - Method in interface io.nats.stan.Subscription
Retrieves the subject of interest from the Subscription object.
getTimestamp() - Method in class io.nats.stan.Message
The message timestamp in nanoseconds.

I

io.nats.stan - package io.nats.stan
io.nats.stan is a Java client library for the STAN streaming data system.
isManualAcks() - Method in class io.nats.stan.SubscriptionOptions
Returns whether or not messages for this subscription must be acknowledged individually by calling ack().
isRedelivered() - Method in class io.nats.stan.Message
Determines whether or not this message has been redelivered to this client's connection.

M

Message - Class in io.nats.stan
A Message object is used to send a message containing a stream of uninterpreted bytes.
MessageHandler - Interface in io.nats.stan
A MessageHandler object is used as a callback to receive asynchronously delivered messages.

O

onAck(String, Exception) - Method in interface io.nats.stan.AckHandler
This method is called when a message has been acknowledged by the STAN server, or if an error has occurred during the publish operations.
onMessage(Message) - Method in interface io.nats.stan.MessageHandler
Passes a message to the handler.

P

publish(String, byte[]) - Method in interface io.nats.stan.Connection
Publishes the payload specified by data to the subject specified by subject, and blocks until an ACK or error is returned.
publish(String, byte[], AckHandler) - Method in interface io.nats.stan.Connection
Publishes the payload specified by data to the subject specified by subject and asynchronously processes the ACK or error state via the supplied AckHandler

S

setAckTimeout(Duration) - Method in class io.nats.stan.ConnectionFactory
Sets the ACK timeout duration.
setAckTimeout(long, TimeUnit) - Method in class io.nats.stan.ConnectionFactory
Sets the ACK timeout in the specified time unit.
setAckWait(Duration) - Method in class io.nats.stan.SubscriptionOptions.Builder
Sets the amount of time the subscription will wait for ACKs from the cluster.
setAckWait(long, TimeUnit) - Method in class io.nats.stan.SubscriptionOptions.Builder
Sets the amount of time the subscription will wait for ACKs from the cluster.
setClientId(String) - Method in class io.nats.stan.ConnectionFactory
Sets the client ID for the current STAN session.
setClusterId(String) - Method in class io.nats.stan.ConnectionFactory
Sets the cluster ID of the current STAN session.
setConnectTimeout(Duration) - Method in class io.nats.stan.ConnectionFactory
Sets the connect timeout duration.
setConnectTimeout(long, TimeUnit) - Method in class io.nats.stan.ConnectionFactory
Sets the connect timeout in the specified time unit.
setData(byte[]) - Method in class io.nats.stan.Message
Sets the message payload data.
setData(byte[], int, int) - Method in class io.nats.stan.Message
Sets the message payload data.
setDiscoverPrefix(String) - Method in class io.nats.stan.ConnectionFactory
Sets the discover prefix string that is used to establish a STAN session.
setDurableName(String) - Method in class io.nats.stan.SubscriptionOptions.Builder
Sets the durable subscriber name for the subscription.
setManualAcks(boolean) - Method in class io.nats.stan.SubscriptionOptions.Builder
Sets whether or not messages must be acknowledge individually by calling ack().
setMaxInFlight(int) - Method in class io.nats.stan.SubscriptionOptions.Builder
Sets the maximum number of in-flight (unacknowledged) messages for the subscription.
setMaxPubAcksInFlight(int) - Method in class io.nats.stan.ConnectionFactory
Sets the maximum number of publish ACKs that may be in flight at any point in time.
setNatsConnection(Connection) - Method in class io.nats.stan.ConnectionFactory
Sets the NATS Connection.
setNatsUrl(String) - Method in class io.nats.stan.ConnectionFactory
Sets the NATS URL.
setReplyTo(String) - Method in class io.nats.stan.Message
Sets the message reply subject.
setSubject(String) - Method in class io.nats.stan.Message
Sets the message subject.
startAtSequence(long) - Method in class io.nats.stan.SubscriptionOptions.Builder
Specifies the sequence number from which to start receiving messages.
startAtTime(Instant) - Method in class io.nats.stan.SubscriptionOptions.Builder
Specifies the desired start time position using java.time.Instant.
startAtTimeDelta(long, TimeUnit) - Method in class io.nats.stan.SubscriptionOptions.Builder
Specifies the desired delta start time position in the desired unit.
startAtTimeDelta(Duration) - Method in class io.nats.stan.SubscriptionOptions.Builder
Specifies the desired delta start time as a Duration.
startWithLastReceived() - Method in class io.nats.stan.SubscriptionOptions.Builder
Specifies that message delivery should start with the last (most recent) message stored for this subject.
subscribe(String, MessageHandler) - Method in interface io.nats.stan.Connection
Creates a Subscription with interest in a given subject, assigns the callback, and immediately starts receiving messages.
subscribe(String, MessageHandler, SubscriptionOptions) - Method in interface io.nats.stan.Connection
Creates a Subscription with interest in a given subject using the given SubscriptionOptions, assigns the callback, and immediately starts receiving messages.
subscribe(String, String, MessageHandler) - Method in interface io.nats.stan.Connection
Creates a Subscription in the queue group specified by queue with interest in a given subject, assigns the message callback, and immediately starts receiving messages.
subscribe(String, String, MessageHandler, SubscriptionOptions) - Method in interface io.nats.stan.Connection
Creates a Subscription in the queue group specified by queue with interest in a given subject, assigns the message callback, and immediately starts receiving messages.
Subscription - Interface in io.nats.stan
A client uses a Subscription object to receive messages that have been published to a subject.
SubscriptionOptions - Class in io.nats.stan
A SubscriptionOptions object defines the configurable parameters of a STAN Subscription object.
SubscriptionOptions.Builder - Class in io.nats.stan
A Builder implementation for creating an immutable SubscriptionOptions object.

T

toString() - Method in class io.nats.stan.Message
 

U

unsubscribe() - Method in interface io.nats.stan.Subscription
Removes interest in the Subscription object's subject immediately.
A B C D G I M O P S T U 
Skip navigation links
java-nats-streaming:0.4.1

Copyright © 2016 Apcera, Inc.. All rights reserved.