public static enum ReplicaInfoEvent.Type extends Enum<ReplicaInfoEvent.Type>
| Enum Constant and Description |
|---|
BACKUPS_CHANGED |
MASTER_CHANGED
Event to notify that master placement should be changed.
|
| Modifier and Type | Method and Description |
|---|---|
static ReplicaInfoEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicaInfoEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicaInfoEvent.Type MASTER_CHANGED
public static final ReplicaInfoEvent.Type BACKUPS_CHANGED
public static ReplicaInfoEvent.Type[] values()
for (ReplicaInfoEvent.Type c : ReplicaInfoEvent.Type.values()) System.out.println(c);
public static ReplicaInfoEvent.Type 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 © 2015. All rights reserved.