Package com.gigaspaces.cluster.activeelection.core
package com.gigaspaces.cluster.activeelection.core
-
ClassDescriptionThis class provides a configuration object of
ActiveElectionManager.This event sends byIActiveElectionListenerto notify the listener implementation about new elected active service.This exception thrown byActiveElectionManageron unexpected functionality behavior.ActiveElectionManager based on distributed naming serviceINamingServiceand provides a distributed active election algorithm to select only one active service between all candidates.The election state attribute registered in conjunction with service candidate.Service statesProvides a failure detection on active service.This interface provides an acceptable decision for the proposed service candidate to advance(acquire) the desiredActiveElectionState.Statestate.
The filter implementation invokes byActiveElectionManagerto identify whether the managed service candidate is acceptable to advance current state toadvanceState.
The state will be advanced by service only ifIActiveElectionDecisionFilter.isAcceptable(ActiveElectionState.State, List)returnstrue, otherwise the state stays without no change.This interface provides notifications byActiveElectionManagerabout new elected Active service.This class provides control for split-brain behavior.Created by moran on 4/12/15.Created by moran on 4/12/15.