public enum JGroupsRaftEventType extends Enum<JGroupsRaftEventType>
| Enum Constant and Description |
|---|
APPLY |
CANDIDATE |
FOLLOWER |
LEADER |
READ_CONTENT_FROM |
WRITE_CONTENT_TO |
| Modifier and Type | Method and Description |
|---|---|
static JGroupsRaftEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JGroupsRaftEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JGroupsRaftEventType LEADER
public static final JGroupsRaftEventType FOLLOWER
public static final JGroupsRaftEventType CANDIDATE
public static final JGroupsRaftEventType APPLY
public static final JGroupsRaftEventType READ_CONTENT_FROM
public static final JGroupsRaftEventType WRITE_CONTENT_TO
public static JGroupsRaftEventType[] values()
for (JGroupsRaftEventType c : JGroupsRaftEventType.values()) System.out.println(c);
public static JGroupsRaftEventType 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 nullApache Camel