com.sleepycat.je.rep.stream
Class MasterChangeListener

java.lang.Object
  extended by 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


Constructor Summary
MasterChangeListener(RepNode repNode)
           
 
Method Summary
 void notify(Proposer.Proposal proposal, Protocol.Value value)
          Implements the Listener protocol.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterChangeListener

public MasterChangeListener(RepNode repNode)
Method Detail

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.