@InterfaceAudience.Public public enum Durability extends Enum<Durability>
Mutation
s
Note that the items must be sorted in order of increasing durabilityEnum Constant and Description |
---|
ASYNC_WAL
Write the Mutation to the WAL asynchronously
|
FSYNC_WAL
Write the Mutation to the WAL synchronously and force the entries to disk.
|
SKIP_WAL
Do not write the Mutation to the WAL
|
SYNC_WAL
Write the Mutation to the WAL synchronously.
|
USE_DEFAULT
If this is for tables durability, use HBase's global default value (SYNC_WAL).
|
Modifier and Type | Method and Description |
---|---|
static Durability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Durability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Durability USE_DEFAULT
public static final Durability SKIP_WAL
public static final Durability ASYNC_WAL
public static final Durability SYNC_WAL
public static final Durability FSYNC_WAL
public static Durability[] values()
for (Durability c : Durability.values()) System.out.println(c);
public static Durability 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 © 2007–2021 The Apache Software Foundation. All rights reserved.