public enum ProposerMessage extends Enum<ProposerMessage> implements MessageType
| Modifier and Type | Class and Description |
|---|---|
static class |
ProposerMessage.AcceptedState |
static class |
ProposerMessage.PromiseState |
static class |
ProposerMessage.RejectAcceptState |
static class |
ProposerMessage.RejectPrepare |
| Enum Constant and Description |
|---|
accepted |
join |
leave |
phase1Timeout |
phase2Timeout |
promise |
propose |
rejectAccept |
rejectPrepare |
rejectPropose2 |
| Modifier and Type | Method and Description |
|---|---|
static ProposerMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProposerMessage[] |
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 ProposerMessage join
public static final ProposerMessage leave
public static final ProposerMessage phase1Timeout
public static final ProposerMessage propose
public static final ProposerMessage promise
public static final ProposerMessage rejectPrepare
public static final ProposerMessage rejectPropose2
public static final ProposerMessage phase2Timeout
public static final ProposerMessage accepted
public static final ProposerMessage rejectAccept
public static ProposerMessage[] values()
for (ProposerMessage c : ProposerMessage.values()) System.out.println(c);
public static ProposerMessage 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.