public final class AllOneConsistencyLevelPolicy extends Object implements ConsistencyLevelPolicy
ConsistencyLevelPolicy which returns ONE as the desired
consistency level for both reads and writes.| Constructor and Description |
|---|
AllOneConsistencyLevelPolicy() |
| Modifier and Type | Method and Description |
|---|---|
HConsistencyLevel |
get(OperationType op)
Get the desired consistency level according to the operation type.
|
HConsistencyLevel |
get(OperationType op,
String cfName)
Get desired consistency according to the operation type and column family name.
|
public HConsistencyLevel get(OperationType op)
ConsistencyLevelPolicyget in interface ConsistencyLevelPolicypublic HConsistencyLevel get(OperationType op, String cfName)
ConsistencyLevelPolicyget in interface ConsistencyLevelPolicyCopyright © 2014. All Rights Reserved.