public static enum Translog.Durabilty extends Enum<Translog.Durabilty>
Enum Constant and Description |
---|
ASYNC
Async durability - translogs are synced based on a time interval.
|
REQUEST
Request durability - translogs are synced for each high levle request (bulk, index, delete)
|
Modifier and Type | Method and Description |
---|---|
static Translog.Durabilty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Translog.Durabilty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Translog.Durabilty ASYNC
public static final Translog.Durabilty REQUEST
public static Translog.Durabilty[] values()
for (Translog.Durabilty c : Translog.Durabilty.values()) System.out.println(c);
public static Translog.Durabilty 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 © 2009–2016. All rights reserved.