A C D E F G H I L M N O R S T W 

A

allowsRetries() - Method in class net.jodah.lyra.retry.RetryPolicy
Returns whether the policy allows any retries at all based on the configured maxRetries and maxDuration.

C

ChannelConfig - Interface in net.jodah.lyra.config
Channel related configuration.
ChannelListener - Interface in net.jodah.lyra.event
Listens for Channel related events.
Config - Class in net.jodah.lyra.config
Lyra configuration.
Config() - Constructor for class net.jodah.lyra.config.Config
 
Config(Config) - Constructor for class net.jodah.lyra.config.Config
Creates a new Config object that inherits configuration from the parent.
ConfigurableChannel - Interface in net.jodah.lyra.config
Configurable Channel.
ConfigurableConnection - Interface in net.jodah.lyra.config
Configurable Connection.
ConnectionConfig - Interface in net.jodah.lyra.config
Connection related configuration.
ConnectionListener - Interface in net.jodah.lyra.event
Listens for Connection related events.
ConnectionOptions - Class in net.jodah.lyra
Connection options.
ConnectionOptions() - Constructor for class net.jodah.lyra.ConnectionOptions
 
ConnectionOptions(ConnectionFactory) - Constructor for class net.jodah.lyra.ConnectionOptions
Creates a new Options object for the connectionFactory.
Connections - Class in net.jodah.lyra
Creates Lyra managed Connections through which Lyra managed Channels and Consumers can be created.
ConsumerConfig - Interface in net.jodah.lyra.config
Consumer related configuration.
ConsumerListener - Interface in net.jodah.lyra.event
Listens for Consumer related events.
copy() - Method in class net.jodah.lyra.ConnectionOptions
Returns a new copy of the options.
create(Config) - Static method in class net.jodah.lyra.Connections
Creates and returns a new Lyra managed ConfigurableConnection for the given config.
create(ConnectionFactory, Config) - Static method in class net.jodah.lyra.Connections
Creates and returns a new Lyra managed ConfigurableConnection for the given connectionFactory and config.
create(ConnectionOptions, Config) - Static method in class net.jodah.lyra.Connections
Creates and returns a new Lyra managed ConfigurableConnection for the given options and config.

D

days(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count days.
DefaultChannelListener - Class in net.jodah.lyra.event
No-op channel listener for sub-classing.
DefaultChannelListener() - Constructor for class net.jodah.lyra.event.DefaultChannelListener
 
DefaultConnectionListener - Class in net.jodah.lyra.event
No-op connection listener for sub-classing.
DefaultConnectionListener() - Constructor for class net.jodah.lyra.event.DefaultConnectionListener
 
DefaultConsumerListener - Class in net.jodah.lyra.event
No-op consumer listener for sub-classing.
DefaultConsumerListener() - Constructor for class net.jodah.lyra.event.DefaultConsumerListener
 
Duration - Class in net.jodah.lyra.util
Duration unit, consisting of length and time unit.

E

equals(Object) - Method in class net.jodah.lyra.util.Duration
 

F

finite - Variable in class net.jodah.lyra.util.Duration
 

G

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
Sets the policy to use for handling connection attempt errors.
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.

H

hashCode() - Method in class net.jodah.lyra.util.Duration
 
hours(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count hours.

I

inf() - Static method in class net.jodah.lyra.util.Duration
Returns an infinite duration of Long.MAX_VALUE days.
INFINITE - Static variable in class net.jodah.lyra.util.Duration
A duration of Long.MAX_VALUE Days
infinite() - Static method in class net.jodah.lyra.util.Duration
Returns an infinite duration of Long.MAX_VALUE days.
isConsumerRecoveryEnabled() - Method in class net.jodah.lyra.config.Config
 
isConsumerRecoveryEnabled() - Method in interface net.jodah.lyra.config.ConsumerConfig
Returns whether consumer recovery is enabled.

L

length - Variable in class net.jodah.lyra.util.Duration
 

M

microseconds(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count microseconds.
millis(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count milliseconds.
milliseconds(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count milliseconds.
mins(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count minutes.
minutes(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count minutes.

N

nanos(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count nanoseconds.
nanoseconds(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count nanoseconds.
net.jodah.lyra - package net.jodah.lyra
 
net.jodah.lyra.config - package net.jodah.lyra.config
 
net.jodah.lyra.event - package net.jodah.lyra.event
 
net.jodah.lyra.retry - package net.jodah.lyra.retry
 
net.jodah.lyra.util - package net.jodah.lyra.util
 

O

of(Channel) - Static method in class net.jodah.lyra.config.Config
Returns the channel as a ConfigurableChannel.
of(Connection) - Static method in class net.jodah.lyra.config.Config
Returns the connection as a ConfigurableConnection.
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
 

R

retryAlways() - Static method in class net.jodah.lyra.retry.RetryPolicies
Returns a RetryPolicy that always retries.
retryNever() - Static method in class net.jodah.lyra.retry.RetryPolicies
Returns a RetryPolicy that never retries.
RetryPolicies - Class in net.jodah.lyra.retry
Factory methods for retry policies.
RetryPolicy - Class in net.jodah.lyra.retry
Policy that guides how retries and recovery are performed.
RetryPolicy() - Constructor for class net.jodah.lyra.retry.RetryPolicy
Creates a RetryPolicy that always retries by default.

S

seconds(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count seconds.
secs(long) - Static method in class net.jodah.lyra.util.Duration
Returns a Duration of count seconds.

T

timeUnit - Variable in class net.jodah.lyra.util.Duration
 
toDays() - Method in class net.jodah.lyra.util.Duration
 
toHours() - Method in class net.jodah.lyra.util.Duration
 
toMicros() - Method in class net.jodah.lyra.util.Duration
 
toMicroseconds() - Method in class net.jodah.lyra.util.Duration
 
toMillis() - Method in class net.jodah.lyra.util.Duration
 
toMilliseconds() - Method in class net.jodah.lyra.util.Duration
 
toMins() - Method in class net.jodah.lyra.util.Duration
 
toMinutes() - Method in class net.jodah.lyra.util.Duration
 
toNanos() - Method in class net.jodah.lyra.util.Duration
 
toNanoseconds() - Method in class net.jodah.lyra.util.Duration
 
toSeconds() - Method in class net.jodah.lyra.util.Duration
 
toSecs() - Method in class net.jodah.lyra.util.Duration
 
toString() - Method in class net.jodah.lyra.util.Duration
 

W

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
Sets the policy to use for handling initial connection attempt errors.
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.
A C D E F G H I L M N O R S T W 

Copyright © 2013. All rights reserved.