public class SessionConnectionStateErrorPolicy extends Object implements ConnectionStateErrorPolicy
ConnectionState.LOST
as an errorConstructor and Description |
---|
SessionConnectionStateErrorPolicy() |
Modifier and Type | Method and 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)
ConnectionStateErrorPolicy
isErrorState
in interface ConnectionStateErrorPolicy
state
- the stateCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.