@InterfaceAudience.Public public enum Durability extends Enum<Durability>
Mutations
 Note that the items must be sorted in order of increasing durability| Enum Constant and Description | 
|---|
| ASYNC_WALWrite the Mutation to the WAL asynchronously | 
| FSYNC_WALWrite the Mutation to the WAL synchronously and force the entries to disk. | 
| SKIP_WALDo not write the Mutation to the WAL | 
| SYNC_WALWrite the Mutation to the WAL synchronously. | 
| USE_DEFAULTIf 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.