|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Durability>
org.apache.hadoop.hbase.client.Durability
@InterfaceAudience.Public @InterfaceStability.Evolving public enum Durability
Enum describing the durability guarantees for tables and Mutations
Note that the items must be sorted in order of increasing durability
| Enum Constant Summary | |
|---|---|
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). |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
SYNC_WAL)
See HADOOP-6313
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||