@Deprecated public interface MasterCandidate
VersionedMasterElection
.Modifier and Type | Method and Description |
---|---|
boolean |
canMasterAcquire(String version)
Deprecated.
Check to see if engine can acquire lock for
version . |
void |
notMaster()
Deprecated.
Indicates that the current node's status as master has been revoked.
|
void |
nowMaster(Lock lock,
String version)
Deprecated.
Indicates that the current node processing this event is now the master.
|
void nowMaster(Lock lock, String version)
void notMaster()
The lock provided in nowMaster(Lock, String)
is no longer valid and calls to Lock.unlock()
are not
necessary.
The api will NOT automatically reenter the listener into the election.
boolean canMasterAcquire(String version)
version
.Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.