现在版本使用
public void setDurability(Durability d)
Durability可以为
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).