public class MonitorEventManager extends Object
| Constructor and Description |
|---|
MonitorEventManager(RepNode repNode) |
| Modifier and Type | Method and Description |
|---|---|
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 and wait for responses.
|
public MonitorEventManager(RepNode repNode)
public long getJoinTime()
public void disableLeaveGroupEvent()
public void notifyGroupChange(String nodeName, GroupChangeEvent.GroupChangeType opType) throws DatabaseException
DatabaseExceptionpublic void notifyJoinGroup()
throws DatabaseException
DatabaseExceptionpublic void notifyLeaveGroup(LeaveGroupEvent.LeaveReason reason) throws DatabaseException, InterruptedException
Copyright © 2024. All rights reserved.