public static enum RaftMachine.Timeouts extends Enum<RaftMachine.Timeouts> implements RenewableTimeoutService.TimeoutName
| Modifier and Type | Method and Description |
|---|---|
static RaftMachine.Timeouts |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RaftMachine.Timeouts[] |
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 RaftMachine.Timeouts ELECTION
public static final RaftMachine.Timeouts HEARTBEAT
public static RaftMachine.Timeouts[] values()
for (RaftMachine.Timeouts c : RaftMachine.Timeouts.values()) System.out.println(c);
public static RaftMachine.Timeouts 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.