public static enum TopologyChangeEvent.EventType extends Enum<TopologyChangeEvent.EventType>
| Enum Constant and Description |
|---|
CLUSTER_JOIN |
CLUSTER_LEAVE |
ELECTION |
| Modifier and Type | Method and Description |
|---|---|
static TopologyChangeEvent.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopologyChangeEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopologyChangeEvent.EventType CLUSTER_LEAVE
public static final TopologyChangeEvent.EventType CLUSTER_JOIN
public static final TopologyChangeEvent.EventType ELECTION
public static TopologyChangeEvent.EventType[] values()
for (TopologyChangeEvent.EventType c : TopologyChangeEvent.EventType.values()) System.out.println(c);
public static TopologyChangeEvent.EventType 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 © 2013-2016–2018 Graph Aware Limited. All rights reserved.