ConnectionStateErrorPolicypublic class SessionConnectionStateErrorPolicy extends java.lang.Object implements ConnectionStateErrorPolicy
ConnectionState.LOST as an error| Constructor | Description |
|---|---|
SessionConnectionStateErrorPolicy() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isErrorState(ConnectionState state) |
Returns true if the given state should cause the recipe to
act as though the connection has been lost.
|
public boolean isErrorState(ConnectionState state)
ConnectionStateErrorPolicyisErrorState in interface ConnectionStateErrorPolicystate - the stateCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.