| Package | Description |
|---|---|
| org.apache.curator.framework.state |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionState |
ConnectionState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionState[] |
ConnectionState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConnectionStateManager.addStateChange(ConnectionState newConnectionState)
Post a state change.
|
boolean |
ConnectionStateErrorPolicy.isErrorState(ConnectionState state)
Returns true if the given state should cause the recipe to
act as though the connection has been lost.
|
boolean |
SessionConnectionStateErrorPolicy.isErrorState(ConnectionState state) |
boolean |
StandardConnectionStateErrorPolicy.isErrorState(ConnectionState state) |
void |
ConnectionStateListener.stateChanged(CuratorFramework client,
ConnectionState newState)
Called when there is a state change in the connection
|
void |
CircuitBreakingConnectionStateListener.stateChanged(CuratorFramework client,
ConnectionState newState) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.