public class MonitorEventManager
extends java.lang.Object
| Constructor and Description |
|---|
MonitorEventManager(RepNode repNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableLeaveGroupEvent() |
long |
getJoinTime() |
void |
notifyGroupChange(java.lang.String nodeName,
GroupChangeEvent.GroupChangeType opType)
Fire a GroupChangeEvent.
|
void |
notifyJoinGroup()
Fire a JoinGroupEvent.
|
void |
notifyLeaveGroup(LeaveGroupEvent.LeaveReason reason)
Fire a LeaveGroupEvent and wait for responses.
|
public MonitorEventManager(RepNode repNode)
public long getJoinTime()
public void disableLeaveGroupEvent()
public void notifyGroupChange(java.lang.String nodeName,
GroupChangeEvent.GroupChangeType opType)
throws DatabaseException
DatabaseExceptionpublic void notifyJoinGroup()
throws DatabaseException
DatabaseExceptionpublic void notifyLeaveGroup(LeaveGroupEvent.LeaveReason reason) throws DatabaseException, java.lang.InterruptedException
DatabaseExceptionjava.lang.InterruptedExceptionCopyright (c) 2004-2012 Oracle. All rights reserved.