Package | Description |
---|---|
com.gigaspaces.cluster.activeelection.core |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ActiveElectionManager.confirmPendingStateRegistration(int retryCount)
Confirmation PENDING state registration on naming service.
|
void |
ActiveElectionManager.elect()
Elect the active service, this method will be blocked while the active service will be
elected.
|
protected void |
ActiveElectionManager.onActiveFailure()
The callback method from
ActiveFailureDetector
on active failure. |
protected void |
ActiveElectionManager.onSplitBrain(List<ServiceItem> splitActives)
The callback method from
SplitBrainController
on 2 or more identified ACTIVE services. |
void |
ActiveElectionManager.reelect()
Re-elect the primary space.
|
Constructor and Description |
---|
ActiveElectionManager(String nodeName,
Object service,
ServiceTemplate participantSrvTemplate,
INamingService namingSrv,
IActiveElectionListener activeElectionListener,
IActiveElectionDecisionFilter decisionFilter,
ActiveElectionConfig config,
ClusterFailureDetector clusterFailureDetector,
SplitBrainRecoveryHolder splitBrainRecoveryHolder)
Constructs an instance of this class that will add
ActiveElectionState
to the set of service attributes see: #addNamingAttributes(Object, Entry[]) . |
Copyright © GigaSpaces.