public enum AcceptorMessage extends Enum<AcceptorMessage> implements MessageType
| Modifier and Type | Class and Description |
|---|---|
static class |
AcceptorMessage.AcceptState |
static class |
AcceptorMessage.PrepareState |
| Enum Constant and Description |
|---|
accept |
failure |
join |
leave |
prepare |
| Modifier and Type | Method and Description |
|---|---|
static AcceptorMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcceptorMessage[] |
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 AcceptorMessage failure
public static final AcceptorMessage join
public static final AcceptorMessage leave
public static final AcceptorMessage prepare
public static final AcceptorMessage accept
public static AcceptorMessage[] values()
for (AcceptorMessage c : AcceptorMessage.values()) System.out.println(c);
public static AcceptorMessage 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.