public static enum GroupChangeEvent.GroupChangeType extends 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(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.