public enum LearnerMessage extends Enum<LearnerMessage> implements MessageType
| Modifier and Type | Class and Description |
|---|---|
static class |
LearnerMessage.LearnFailedState |
static class |
LearnerMessage.LearnRequestState |
static class |
LearnerMessage.LearnState |
| Enum Constant and Description |
|---|
catchUp |
join |
learn |
learnFailed |
learnRequest |
learnTimedout |
leave |
| Modifier and Type | Method and Description |
|---|---|
static LearnerMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LearnerMessage[] |
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 LearnerMessage join
public static final LearnerMessage leave
public static final LearnerMessage learn
public static final LearnerMessage learnRequest
public static final LearnerMessage learnFailed
public static final LearnerMessage learnTimedout
public static final LearnerMessage catchUp
public static LearnerMessage[] values()
for (LearnerMessage c : LearnerMessage.values()) System.out.println(c);
public static LearnerMessage 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.