public enum CommitLevel extends Enum<CommitLevel>
Enum Constant and Description |
---|
COMMIT_ALL
Server should wait until successfully committing master and all replicas.
|
COMMIT_MASTER
Server should wait until successfully committing master only.
|
Modifier and Type | Method and Description |
---|---|
static CommitLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommitLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitLevel COMMIT_ALL
public static final CommitLevel COMMIT_MASTER
public static CommitLevel[] values()
for (CommitLevel c : CommitLevel.values()) System.out.println(c);
public static CommitLevel 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 ? 2012–2018 Aerospike, Inc. All rights reserved.