public static enum GroupChangeEvent.GroupChangeType extends java.lang.Enum<GroupChangeEvent.GroupChangeType>
| Enum Constant and Description |
|---|
ADD
A new node was
added to the replication group. |
REMOVE
A node was
removed from the replication group. |
| Modifier and Type | Method and Description |
|---|---|
static GroupChangeEvent.GroupChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GroupChangeEvent.GroupChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupChangeEvent.GroupChangeType ADD
added to the replication group.public static final GroupChangeEvent.GroupChangeType REMOVE
removed from the replication group.public static GroupChangeEvent.GroupChangeType[] values()
for (GroupChangeEvent.GroupChangeType c : GroupChangeEvent.GroupChangeType.values()) System.out.println(c);
public static GroupChangeEvent.GroupChangeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.