ReconnectOptions |
ReconnectOptions.addReconnectLocation(String host,
int port) |
Adds an additional reconnection location that can be used when attempting to reconnect the client
following a connection failure.
|
ReconnectOptions |
ReconnectOptions.clone() |
|
protected ReconnectOptions |
ReconnectOptions.copyInto(ReconnectOptions other) |
Copy all options from this ReconnectOptions instance into the instance
provided.
|
ReconnectOptions |
ReconnectOptions.maxInitialConnectionAttempts(int maxInitialConnectionAttempts) |
For a client that has never connected to a remote peer before this option controls how many attempts
are made to connect before reporting the connection as failed.
|
ReconnectOptions |
ReconnectOptions.maxReconnectAttempts(int maxReconnectionAttempts) |
The number of reconnection attempts allowed before reporting the connection as failed to the client.
|
ReconnectOptions |
ReconnectOptions.maxReconnectDelay(int maxReconnectDelay) |
The maximum time that the client will wait before attempting a reconnect.
|
ReconnectOptions |
ReconnectOptions.reconnectBackOffMultiplier(double reconnectBackOffMultiplier) |
The multiplier used to grow the reconnection delay value, defaults to 2.0d.
|
ReconnectOptions |
ReconnectOptions.reconnectDelay(int reconnectDelay) |
Controls the delay between successive reconnection attempts, defaults to 10 milliseconds.
|
ReconnectOptions |
ReconnectOptions.reconnectEnabled(boolean reconnectEnabled) |
Set to true to enable reconnection support on the associated Connection
or false to disable.
|
ReconnectOptions |
ConnectionOptions.reconnectOptions() |
|
ReconnectOptions |
ReconnectOptions.useReconnectBackOff(boolean useReconnectBackOff) |
Controls whether the time between reconnection attempts should grow based on a configured multiplier.
|
ReconnectOptions |
ReconnectOptions.warnAfterReconnectAttempts(int warnAfterReconnectAttempts) |
Controls how often the client will log a message indicating that a reconnection is being attempted.
|