Package | Description |
---|---|
org.apache.curator.framework.recipes.leader | |
org.apache.curator.framework.recipes.queue | |
org.apache.curator.framework.state |
Modifier and Type | Method and Description |
---|---|
protected void |
LeaderLatch.handleStateChange(ConnectionState newState) |
void |
LeaderSelectorListenerAdapter.stateChanged(CuratorFramework client,
ConnectionState newState) |
Modifier and Type | Method and Description |
---|---|
void |
BlockingQueueConsumer.stateChanged(CuratorFramework client,
ConnectionState newState) |
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 |
StandardConnectionStateErrorPolicy.isErrorState(ConnectionState state) |
boolean |
SessionConnectionStateErrorPolicy.isErrorState(ConnectionState state) |
void |
CircuitBreakingConnectionStateListener.stateChanged(CuratorFramework client,
ConnectionState newState) |
void |
ConnectionStateListener.stateChanged(CuratorFramework client,
ConnectionState newState)
Called when there is a state change in the connection
|
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.