|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.rep.impl.node.MonitorEventManager
public class MonitorEventManager
The class for firing MonitorChangeEvents. Each time when there happens a MonitorChangeEvents, it refreshes the group information so that it can send messages to current monitors.
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 |
---|
public MonitorEventManager(RepNode repNode)
Method Detail |
---|
public long getJoinTime()
public void disableLeaveGroupEvent()
public void notifyGroupChange(String nodeName, GroupChangeEvent.GroupChangeType opType) throws DatabaseException
DatabaseException
public void notifyJoinGroup() throws DatabaseException
DatabaseException
public void notifyLeaveGroup(LeaveGroupEvent.LeaveReason reason) throws DatabaseException
DatabaseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |