com.sleepycat.je.rep.stream
Class MasterChangeListener
java.lang.Object
com.sleepycat.je.rep.stream.MasterChangeListener
- All Implemented Interfaces:
- Learner.Listener
public class MasterChangeListener
- extends Object
- implements Learner.Listener
The Listener registered with Elections to learn about new Masters
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MasterChangeListener
public MasterChangeListener(RepNode repNode)
notify
public void notify(Proposer.Proposal proposal,
Protocol.Value value)
- Implements the Listener protocol. The method should not have any
operations that might wait, since notifications are single threaded.
- Specified by:
notify
in interface Learner.Listener
Copyright (c) 2004-2012 Oracle. All rights reserved.