Interface ConnectionStateErrorPolicy
-
- All Known Implementing Classes:
SessionConnectionStateErrorPolicy,StandardConnectionStateErrorPolicy
public interface ConnectionStateErrorPolicyRecipes should use the configured error policy to decide how to handle errors such asConnectionStatechanges.- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisErrorState(ConnectionState state)Returns true if the given state should cause the recipe to act as though the connection has been lost.
-
-
-
Method Detail
-
isErrorState
boolean isErrorState(ConnectionState state)
Returns true if the given state should cause the recipe to act as though the connection has been lost. i.e. locks should exit, etc.- Parameters:
state- the state- Returns:
- true/false
-
-