@Deprecated public interface VersionedMasterElection extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
newLocalVersion()
Deprecated.
Notification indicating that local version has been updated.
|
void |
registerListener(VariableListener listener)
Deprecated.
Register a listener to receive notifications about changes to master version.
|
void |
registerMaster(MasterCandidate engine)
Deprecated.
Checks the global variable value against the local value and acquires the lock if the values match.
|
void |
rollback(String version)
Deprecated.
Rollback the global version to
version |
void |
setGlobalVersion(String version)
Deprecated.
Updates the global value for the election to be based on.
|
void registerMaster(MasterCandidate engine) throws AttivioException
Does a 2nd check after acquiring the lock to ensure no changes were missed.
AttivioException
void registerListener(VariableListener listener) throws AttivioException
AttivioException
void setGlobalVersion(String version) throws AttivioException
AttivioException
void newLocalVersion() throws AttivioException
AttivioException
void rollback(String version) throws AttivioException
version
This method will fail if a master is currently elected.
AttivioException
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.