public enum HeartbeatMessage extends Enum<HeartbeatMessage> implements MessageType
HeartbeatState state machine.| Modifier and Type | Class and Description |
|---|---|
static class |
HeartbeatMessage.IAmAliveState |
static class |
HeartbeatMessage.SuspicionsState |
| Enum Constant and Description |
|---|
addHeartbeatListener |
i_am_alive |
join |
leave |
removeHeartbeatListener |
reset_send_heartbeat |
sendHeartbeat |
suspicions |
timed_out |
| Modifier and Type | Method and Description |
|---|---|
static HeartbeatMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeartbeatMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final HeartbeatMessage addHeartbeatListener
public static final HeartbeatMessage removeHeartbeatListener
public static final HeartbeatMessage join
public static final HeartbeatMessage leave
public static final HeartbeatMessage i_am_alive
public static final HeartbeatMessage timed_out
public static final HeartbeatMessage sendHeartbeat
public static final HeartbeatMessage reset_send_heartbeat
public static final HeartbeatMessage suspicions
public static HeartbeatMessage[] values()
for (HeartbeatMessage c : HeartbeatMessage.values()) System.out.println(c);
public static HeartbeatMessage 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 © 2002–2017 The Neo4j Graph Database Project. All rights reserved.