|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.rep.elections.Elections.ElectionListener
static class Elections.ElectionListener
Used to short-circuit Proposal retries if a new election has completed since the time this election was initiated.
Constructor Summary | |
---|---|
Elections.ElectionListener()
|
Method Summary | |
---|---|
CountDownLatch |
getElectionLatch()
Used during shutdown only |
void |
notify(Proposer.Proposal proposal,
Protocol.Value value)
The Listener protocol announcing election results. |
CountDownLatch |
setLatch()
Returns a new latch to be associated with the RetryPredicate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
Elections.ElectionListener()
Method Detail |
---|
public CountDownLatch setLatch()
public CountDownLatch getElectionLatch()
public void notify(Proposer.Proposal proposal, Protocol.Value value)
notify
in interface Learner.Listener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |