- getAddresses() - Method in class net.jodah.lyra.ConnectionOptions
-
Returns the addresses to attempt connections to, in round-robin order.
- getChannelListeners() - Method in interface net.jodah.lyra.config.ChannelConfig
-
Returns the channel's listeners else empty list if none were configured.
- getChannelListeners() - Method in class net.jodah.lyra.config.Config
-
- getChannelRecoveryPolicy() - Method in interface net.jodah.lyra.config.ChannelConfig
-
Returns the channel's recovery policy.
- getChannelRecoveryPolicy() - Method in class net.jodah.lyra.config.Config
-
- getChannelRetryPolicy() - Method in interface net.jodah.lyra.config.ChannelConfig
-
Returns the channel's retry policy.
- getChannelRetryPolicy() - Method in class net.jodah.lyra.config.Config
-
- getConnectionFactory() - Method in class net.jodah.lyra.ConnectionOptions
-
Returns the ConnectionFactory for the options.
- getConnectionListeners() - Method in class net.jodah.lyra.config.Config
-
- getConnectionListeners() - Method in interface net.jodah.lyra.config.ConnectionConfig
-
Returns the connection's listeners else empty list if none were configured.
- getConnectionRecoveryPolicy() - Method in class net.jodah.lyra.config.Config
-
- getConnectionRecoveryPolicy() - Method in interface net.jodah.lyra.config.ConnectionConfig
-
Returns the connection's recovery policy.
- getConnectionRetryPolicy() - Method in class net.jodah.lyra.config.Config
-
- getConnectionRetryPolicy() - Method in interface net.jodah.lyra.config.ConnectionConfig
-
Returns the connection's retry policy.
- getConnectRetryPolicy() - Method in class net.jodah.lyra.config.Config
-
- getConsumerExecutor() - Method in class net.jodah.lyra.ConnectionOptions
-
Returns the consumer executor.
- getConsumerListeners() - Method in class net.jodah.lyra.config.Config
-
- getConsumerListeners() - Method in interface net.jodah.lyra.config.ConsumerConfig
-
Returns the consumer listeners else empty list if none were configured.
- getMaxDuration() - Method in class net.jodah.lyra.retry.RetryPolicy
-
Returns the max duration.
- getMaxRetries() - Method in class net.jodah.lyra.retry.RetryPolicy
-
Returns the max retries.
- getMaxRetryInterval() - Method in class net.jodah.lyra.retry.RetryPolicy
-
Returns the max retry interval for backoff retries.
- getName() - Method in class net.jodah.lyra.ConnectionOptions
-
- getRetryInterval() - Method in class net.jodah.lyra.retry.RetryPolicy
-
Returns the retry interval.
- getRetryIntervalMultiplier() - Method in class net.jodah.lyra.retry.RetryPolicy
-
Returns the retry interval multiplier for backoff retries.
- of(Channel) - Static method in class net.jodah.lyra.config.Config
-
- of(Connection) - Static method in class net.jodah.lyra.config.Config
-
- of(long, TimeUnit) - Static method in class net.jodah.lyra.util.Duration
-
Returns a Duration of count units.
- of(String) - Static method in class net.jodah.lyra.util.Duration
-
Returns a Duration from the parsed duration.
- onAfterRecovery(Consumer, Channel) - Method in interface net.jodah.lyra.event.ConsumerListener
-
Called after the consumer is recovered from an unexpected closure on the
channel.
- onAfterRecovery(Consumer, Channel) - Method in class net.jodah.lyra.event.DefaultConsumerListener
-
- onBeforeRecovery(Consumer, Channel) - Method in interface net.jodah.lyra.event.ConsumerListener
-
Called before the consumer is recovered from an unexpected closure on the
channel.
- onBeforeRecovery(Consumer, Channel) - Method in class net.jodah.lyra.event.DefaultConsumerListener
-
- onCreate(Channel) - Method in interface net.jodah.lyra.event.ChannelListener
-
Called after the channel is successfully created.
- onCreate(Connection) - Method in interface net.jodah.lyra.event.ConnectionListener
-
Called after the connection is successfully created.
- onCreate(Channel) - Method in class net.jodah.lyra.event.DefaultChannelListener
-
- onCreate(Connection) - Method in class net.jodah.lyra.event.DefaultConnectionListener
-
- onCreateFailure(Throwable) - Method in interface net.jodah.lyra.event.ChannelListener
-
Called after channel creation fails.
- onCreateFailure(Throwable) - Method in interface net.jodah.lyra.event.ConnectionListener
-
Called after connection creation fails.
- onCreateFailure(Throwable) - Method in class net.jodah.lyra.event.DefaultChannelListener
-
- onCreateFailure(Throwable) - Method in class net.jodah.lyra.event.DefaultConnectionListener
-
- onRecovery(Channel) - Method in interface net.jodah.lyra.event.ChannelListener
-
Called after the channel, along with its consumers, is recovered from an unexpected
closure.
- onRecovery(Connection) - Method in interface net.jodah.lyra.event.ConnectionListener
-
Called after the connection, along with its channels, is recovered from an unexpected
closure.
- onRecovery(Channel) - Method in class net.jodah.lyra.event.DefaultChannelListener
-
- onRecovery(Connection) - Method in class net.jodah.lyra.event.DefaultConnectionListener
-
- onRecoveryFailure(Channel, Throwable) - Method in interface net.jodah.lyra.event.ChannelListener
-
Called after the channel fails to recover from an unexpected closure.
- onRecoveryFailure(Connection, Throwable) - Method in interface net.jodah.lyra.event.ConnectionListener
-
Called after the connection fails to recover from an unexpected closure.
- onRecoveryFailure(Consumer, Channel, Throwable) - Method in interface net.jodah.lyra.event.ConsumerListener
-
Called after the consumer fails to recover from an unexpected closure on the
channel.
- onRecoveryFailure(Channel, Throwable) - Method in class net.jodah.lyra.event.DefaultChannelListener
-
- onRecoveryFailure(Connection, Throwable) - Method in class net.jodah.lyra.event.DefaultConnectionListener
-
- onRecoveryFailure(Consumer, Channel, Throwable) - Method in class net.jodah.lyra.event.DefaultConsumerListener
-
- withAddresses(Address...) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the addresses to attempt connections to, in round-robin order.
- withAddresses(String) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the addresses.
- withBackoff(Duration, Duration) - Method in class net.jodah.lyra.retry.RetryPolicy
-
Sets the retryInterval to pause for, exponentially backing of to the
maxRetryInterval multiplying successive intervals by a factor of 2.
- withBackoff(Duration, Duration, int) - Method in class net.jodah.lyra.retry.RetryPolicy
-
Sets the retryInterval to pause for, exponentially backing of to the
maxRetryInterval multiplying successive intervals by the
retryIntervalMultiplier.
- withChannelListeners(ChannelListener...) - Method in interface net.jodah.lyra.config.ChannelConfig
-
Sets the channelListeners to call on channel related events.
- withChannelListeners(ChannelListener...) - Method in class net.jodah.lyra.config.Config
-
- withChannelRecoveryPolicy(RetryPolicy) - Method in interface net.jodah.lyra.config.ChannelConfig
-
Sets the recoveryPolicy to use for recovering the channel.
- withChannelRecoveryPolicy(RetryPolicy) - Method in class net.jodah.lyra.config.Config
-
- withChannelRetryPolicy(RetryPolicy) - Method in interface net.jodah.lyra.config.ChannelConfig
-
Sets the retryPolicy to use for retrying failed invocations on the channel.
- withChannelRetryPolicy(RetryPolicy) - Method in class net.jodah.lyra.config.Config
-
- withClientProperties(Map<String, Object>) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the client properties.
- withConnectionFactory(ConnectionFactory) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the connectionFactory.
- withConnectionListeners(ConnectionListener...) - Method in class net.jodah.lyra.config.Config
-
- withConnectionListeners(ConnectionListener...) - Method in interface net.jodah.lyra.config.ConnectionConfig
-
Sets the connectionListeners to call on connection related events.
- withConnectionRecoveryPolicy(RetryPolicy) - Method in class net.jodah.lyra.config.Config
-
- withConnectionRecoveryPolicy(RetryPolicy) - Method in interface net.jodah.lyra.config.ConnectionConfig
-
Sets the policy to use for the recovery of Connections after an unexpected Connection closure.
- withConnectionRetryPolicy(RetryPolicy) - Method in class net.jodah.lyra.config.Config
-
- withConnectionRetryPolicy(RetryPolicy) - Method in interface net.jodah.lyra.config.ConnectionConfig
-
Sets the policy to use for handling Connection invocation errors.
- withConnectionTimeout(Duration) - Method in class net.jodah.lyra.ConnectionOptions
-
Set the connection timeout, zero for infinite, for an individual connection attempt.
- withConnectRetryPolicy(RetryPolicy) - Method in class net.jodah.lyra.config.Config
-
- withConsumerExecutor(ExecutorService) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the executor used to handle consumer callbacks.
- withConsumerListeners(ConsumerListener...) - Method in class net.jodah.lyra.config.Config
-
- withConsumerListeners(ConsumerListener...) - Method in interface net.jodah.lyra.config.ConsumerConfig
-
Sets the consumerListeners to call on consumer related events.
- withConsumerRecovery(boolean) - Method in class net.jodah.lyra.config.Config
-
- withConsumerRecovery(boolean) - Method in interface net.jodah.lyra.config.ConsumerConfig
-
Sets whether consumer recovery is enabled or not.
- withHost(String) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the host.
- withHosts(String...) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the hosts to attempt connections to, in round-robin order.
- withMaxDuration(Duration) - Method in class net.jodah.lyra.retry.RetryPolicy
-
Sets the max duration of the RetryPolicy.
- withMaxRetries(int) - Method in class net.jodah.lyra.retry.RetryPolicy
-
Sets the max retries to perform.
- withName(String) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the connection name.
- withPassword(String) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the password.
- withPort(int) - Method in class net.jodah.lyra.ConnectionOptions
-
Set the port.
- withRecoveryPolicy(RetryPolicy) - Method in class net.jodah.lyra.config.Config
-
Sets the policy to use for the recovery of Connections/Channels/Consumers after an unexpected
Connection/Channel closure.
- withRequestedHeartbeat(Duration) - Method in class net.jodah.lyra.ConnectionOptions
-
Set the requested heartbeat, zero for none.
- withRetryInterval(Duration) - Method in class net.jodah.lyra.retry.RetryPolicy
-
Sets the retryInterval to pause for between retries.
- withRetryPolicy(RetryPolicy) - Method in class net.jodah.lyra.config.Config
-
Sets the policy to use for handling
connection attempt,
Connection invocation, and
Channel invocation errors.
- withSocketFactory(SocketFactory) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the SocketFactory to create connections with.
- withSsl() - Method in class net.jodah.lyra.ConnectionOptions
-
Enabled SSL using SSLv3.
- withSslProtocol(SSLContext) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the initialized sslContext to use.
- withSslProtocol(String) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the sslProtocol to use.
- withSslProtocol(String, TrustManager) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the sslProtocol and trustManager to use.
- withUsername(String) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the username.
- withVirtualHost(String) - Method in class net.jodah.lyra.ConnectionOptions
-
Sets the virtual host.