Uses of Class
org.apache.qpid.protonj2.client.ReconnectOptions
-
Uses of ReconnectOptions in org.apache.qpid.protonj2.client
Modifier and TypeMethodDescriptionReconnectOptions.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.clone()
protected ReconnectOptions
ReconnectOptions.copyInto
(ReconnectOptions other) Copy all options from thisReconnectOptions
instance into the instance provided.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.maxReconnectAttempts
(int maxReconnectionAttempts) The number of reconnection attempts allowed before reporting the connection as failed to the client.ReconnectOptions.maxReconnectDelay
(int maxReconnectDelay) The maximum time that the client will wait before attempting a reconnect.ReconnectOptions.reconnectBackOffMultiplier
(double reconnectBackOffMultiplier) The multiplier used to grow the reconnection delay value, defaults to 2.0d.ReconnectOptions.reconnectDelay
(int reconnectDelay) Controls the delay between successive reconnection attempts, defaults to 10 milliseconds.ReconnectOptions.reconnectEnabled
(boolean reconnectEnabled) ConnectionOptions.reconnectOptions()
ReconnectOptions.useReconnectBackOff
(boolean useReconnectBackOff) Controls whether the time between reconnection attempts should grow based on a configured multiplier.ReconnectOptions.warnAfterReconnectAttempts
(int warnAfterReconnectAttempts) Controls how often the client will log a message indicating that a reconnection is being attempted.Modifier and TypeMethodDescriptionprotected ReconnectOptions
ReconnectOptions.copyInto
(ReconnectOptions other) Copy all options from thisReconnectOptions
instance into the instance provided.ModifierConstructorDescriptionReconnectOptions
(ReconnectOptions options) Creates aReconnectOptions
instance that is a copy of the given instance.