public class GroupChangeEvent extends MonitorChangeEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupChangeEvent.GroupChangeType
The kind of GroupChangeEvent.
|
| Constructor and Description |
|---|
GroupChangeEvent(ReplicationGroup repGroup,
java.lang.String nodeName,
GroupChangeEvent.GroupChangeType opType) |
| Modifier and Type | Method and Description |
|---|---|
GroupChangeEvent.GroupChangeType |
getChangeType()
Returns the type of the change (the addition of a new member or the
removal of an existing member) made to the group.
|
ReplicationGroup |
getRepGroup()
Returns the current description of the replication group.
|
getNodeNameGroupChangeEvent(ReplicationGroup repGroup, java.lang.String nodeName, GroupChangeEvent.GroupChangeType opType)
public ReplicationGroup getRepGroup()
public GroupChangeEvent.GroupChangeType getChangeType()
MonitorChangeEvent.getNodeName
can be used to identify the node that triggered the event.Copyright (c) 2004-2012 Oracle. All rights reserved.