Uses of Enum Class
com.gigaspaces.cluster.activeelection.core.ActiveElectionState.State
Packages that use ActiveElectionState.State
Package
Description
-
Uses of ActiveElectionState.State in com.gigaspaces.cluster.activeelection
Methods in com.gigaspaces.cluster.activeelection with parameters of type ActiveElectionState.StateModifier and TypeMethodDescriptionbooleanPriorityElectionFilter.isAcceptable(ActiveElectionState.State acquireState, List<ServiceItem> candidateSrv) This method provides the condition to advance the manage member toacquireStatestate. -
Uses of ActiveElectionState.State in com.gigaspaces.cluster.activeelection.core
Methods in com.gigaspaces.cluster.activeelection.core that return ActiveElectionState.StateModifier and TypeMethodDescriptionActiveElectionManager.getState()ActiveElectionState.getState()static ActiveElectionState.StateReturns the enum constant of this class with the specified name.static ActiveElectionState.State[]ActiveElectionState.State.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.gigaspaces.cluster.activeelection.core with parameters of type ActiveElectionState.StateModifier and TypeMethodDescriptionprotected booleanActiveElectionManager.changeState(ActiveElectionState.State oldState, ActiveElectionState.State newState, boolean force) Change the service state on naming service.booleanIActiveElectionDecisionFilter.isAcceptable(ActiveElectionState.State advanceState, List<ServiceItem> candidateSrv) Returnstrueif the managed service is acceptable to advance the state toadvanceState.protected booleanActiveElectionManager.isAdvanceToStateAllowed(ActiveElectionState.State currentState, ActiveElectionState.State acquireState) Request to advance to the new state.protected List<ServiceItem>ActiveElectionManager.lookup(ActiveElectionState.State state, int maxMatches) Lookup the services with desired state.protected ServiceItemActiveElectionManager.pollStateUntilAvailable(ActiveElectionState.State pollingState) Poll the desired service state on naming service while available, when thepollingStateis not available make an attempt to find an ACTIVE state, if ACTIVE was found notify theIActiveElectionListenerand return the active service.voidActiveElectionState.setState(ActiveElectionState.State state) Constructors in com.gigaspaces.cluster.activeelection.core with parameters of type ActiveElectionState.StateModifierConstructorDescriptionconstruct this ActiveElectionState with the given State