public static enum RaftLogReader.Mode extends Enum<RaftLogReader.Mode>
| Enum Constant and Description |
|---|
ALL
Reads all entries from the log.
|
COMMITS
Reads committed entries from the log.
|
| Modifier and Type | Method and Description |
|---|---|
static RaftLogReader.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RaftLogReader.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RaftLogReader.Mode ALL
public static final RaftLogReader.Mode COMMITS
public static RaftLogReader.Mode[] values()
for (RaftLogReader.Mode c : RaftLogReader.Mode.values()) System.out.println(c);
public static RaftLogReader.Mode 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 © 2013–2017. All rights reserved.