Uses of Enum
org.apache.curator.framework.state.ConnectionState
Packages that use ConnectionState
Package
Description
-
Uses of ConnectionState in org.apache.curator.framework.recipes.leader
Methods in org.apache.curator.framework.recipes.leader with parameters of type ConnectionStateModifier and TypeMethodDescriptionprotected void
LeaderLatch.handleStateChange
(ConnectionState newState) void
LeaderSelectorListenerAdapter.stateChanged
(CuratorFramework client, ConnectionState newState) -
Uses of ConnectionState in org.apache.curator.framework.recipes.queue
Methods in org.apache.curator.framework.recipes.queue with parameters of type ConnectionStateModifier and TypeMethodDescriptionvoid
BlockingQueueConsumer.stateChanged
(CuratorFramework client, ConnectionState newState) -
Uses of ConnectionState in org.apache.curator.framework.state
Methods in org.apache.curator.framework.state that return ConnectionStateModifier 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.Methods in org.apache.curator.framework.state with parameters of type ConnectionStateModifier 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