Uses of Enum
org.apache.curator.framework.state.ConnectionState
Package
Description
-
Uses of ConnectionState in org.apache.curator.framework.recipes.leader
Modifier and TypeMethodDescriptionprotected void
LeaderLatch.handleStateChange
(ConnectionState newState) void
LeaderSelectorListenerAdapter.stateChanged
(CuratorFramework client, ConnectionState newState) -
Uses of ConnectionState in org.apache.curator.framework.recipes.queue
Modifier and TypeMethodDescriptionvoid
BlockingQueueConsumer.stateChanged
(CuratorFramework client, ConnectionState newState) -
Uses of ConnectionState in org.apache.curator.framework.state
Modifier and TypeMethodDescriptionstatic ConnectionState
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 TypeMethodDescriptionboolean
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
CircuitBreakingConnectionStateListener.stateChanged
(CuratorFramework client, ConnectionState newState) void
ConnectionStateListener.stateChanged
(CuratorFramework client, ConnectionState newState) Called when there is a state change in the connection