com.sleepycat.je.rep.impl.node
Class MonitorEventManager

java.lang.Object
  extended by com.sleepycat.je.rep.impl.node.MonitorEventManager

public class MonitorEventManager
extends Object


Constructor Summary
MonitorEventManager(RepNode repNode)
           
 
Method Summary
 void disableLeaveGroupEvent()
           
 long getJoinTime()
           
 void notifyGroupChange(String nodeName, GroupChangeEvent.GroupChangeType opType)
          Fire a GroupChangeEvent.
 void notifyJoinGroup()
          Fire a JoinGroupEvent.
 void notifyLeaveGroup(LeaveGroupEvent.LeaveReason reason)
          Fire a LeaveGroupEvent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorEventManager

public MonitorEventManager(RepNode repNode)
Method Detail

getJoinTime

public long getJoinTime()

disableLeaveGroupEvent

public void disableLeaveGroupEvent()

notifyGroupChange

public void notifyGroupChange(String nodeName,
                              GroupChangeEvent.GroupChangeType opType)
                       throws DatabaseException
Fire a GroupChangeEvent.

Throws:
DatabaseException

notifyJoinGroup

public void notifyJoinGroup()
                     throws DatabaseException
Fire a JoinGroupEvent.

Throws:
DatabaseException

notifyLeaveGroup

public void notifyLeaveGroup(LeaveGroupEvent.LeaveReason reason)
                      throws DatabaseException
Fire a LeaveGroupEvent.

Throws:
DatabaseException


Copyright (c) 2004-2010 Oracle. All rights reserved.