| Package | Description |
|---|---|
| org.apache.curator.framework.state |
| Modifier and Type | Method | Description |
|---|---|---|
static ConnectionState |
ConnectionState.valueOf(java.lang.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 | 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
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.