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 voidLeaderLatch.handleStateChange(ConnectionState newState) voidLeaderSelectorListenerAdapter.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 TypeMethodDescriptionvoidBlockingQueueConsumer.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 ConnectionStateReturns 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 TypeMethodDescriptionbooleanConnectionStateManager.addStateChange(ConnectionState newConnectionState) Post a state change.booleanConnectionStateErrorPolicy.isErrorState(ConnectionState state) Returns true if the given state should cause the recipe to act as though the connection has been lost.booleanSessionConnectionStateErrorPolicy.isErrorState(ConnectionState state) booleanStandardConnectionStateErrorPolicy.isErrorState(ConnectionState state) voidCircuitBreakingConnectionStateListener.stateChanged(CuratorFramework client, ConnectionState newState) voidConnectionStateListener.stateChanged(CuratorFramework client, ConnectionState newState) Called when there is a state change in the connection