Interface IRecoveryConfiguration
Interface for the recovery configuration.
public interface IRecoveryConfiguration
Methods
Activated(bool)
Define if the recovery is activated. If is not activated the connection will not try to reconnect.
IRecoveryConfiguration Activated(bool activated)
Parameters
activated
bool
Returns
BackOffDelayPolicy(IBackOffDelayPolicy)
Define the backoff delay policy. It is used when the connection is trying to reconnect.
IRecoveryConfiguration BackOffDelayPolicy(IBackOffDelayPolicy backOffDelayPolicy)
Parameters
backOffDelayPolicy
IBackOffDelayPolicy
Returns
GetBackOffDelayPolicy()
IBackOffDelayPolicy GetBackOffDelayPolicy()
Returns
IsActivated()
bool IsActivated()
Returns
IsTopologyActive()
bool IsTopologyActive()
Returns
Topology(bool)
Define if the recovery of the topology is activated. When Activated the connection will try to recover the topology after a reconnection. It is valid only if the recovery is activated.
IRecoveryConfiguration Topology(bool activated)
Parameters
activated
bool