public static enum RaftMessages.Type extends Enum<RaftMessages.Type>
| Enum Constant and Description |
|---|
APPEND_ENTRIES_REQUEST |
APPEND_ENTRIES_RESPONSE |
ELECTION_TIMEOUT |
HEARTBEAT |
HEARTBEAT_RESPONSE |
HEARTBEAT_TIMEOUT |
LOG_COMPACTION_INFO |
NEW_BATCH_REQUEST |
NEW_ENTRY_REQUEST |
PRUNE_REQUEST |
VOTE_REQUEST |
VOTE_RESPONSE |
| Modifier and Type | Method and Description |
|---|---|
static RaftMessages.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RaftMessages.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RaftMessages.Type VOTE_REQUEST
public static final RaftMessages.Type VOTE_RESPONSE
public static final RaftMessages.Type APPEND_ENTRIES_REQUEST
public static final RaftMessages.Type APPEND_ENTRIES_RESPONSE
public static final RaftMessages.Type HEARTBEAT
public static final RaftMessages.Type HEARTBEAT_RESPONSE
public static final RaftMessages.Type LOG_COMPACTION_INFO
public static final RaftMessages.Type ELECTION_TIMEOUT
public static final RaftMessages.Type HEARTBEAT_TIMEOUT
public static final RaftMessages.Type NEW_ENTRY_REQUEST
public static final RaftMessages.Type NEW_BATCH_REQUEST
public static final RaftMessages.Type PRUNE_REQUEST
public static RaftMessages.Type[] values()
for (RaftMessages.Type c : RaftMessages.Type.values()) System.out.println(c);
public static RaftMessages.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 © 2002–2016 The Neo4j Graph Database Project. All rights reserved.