|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConsistencyLevelPolicy
Defines the interface for the consistency level policy.
Implementations may create their own consistency level policies, such as
AllOneConsistencyLevelPolicy or QuorumAllConsistencyLevelPolicy
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
HConsistencyLevel get(OperationType op)
op -
HConsistencyLevel get(OperationType op,
String cfName)
op - cfName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||