public static enum ClusterMetadataEvent.Type extends Enum<ClusterMetadataEvent.Type>
Enum Constant and Description |
---|
METADATA_CHANGED
Signifies that the cluster metadata has changed.
|
Modifier and Type | Method and Description |
---|---|
static ClusterMetadataEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterMetadataEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterMetadataEvent.Type METADATA_CHANGED
public static ClusterMetadataEvent.Type[] values()
for (ClusterMetadataEvent.Type c : ClusterMetadataEvent.Type.values()) System.out.println(c);
public static ClusterMetadataEvent.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 null