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
DatabaseException
public void notifyJoinGroup() throws DatabaseException
DatabaseException
public void notifyLeaveGroup(LeaveGroupEvent.LeaveReason reason) throws DatabaseException, java.lang.InterruptedException
DatabaseException
java.lang.InterruptedException
Copyright (c) 2004-2012 Oracle. All rights reserved.