|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.service.AntiEntropyService.Validator
public static class AntiEntropyService.Validator
The IValidator to be used in normal operation.
Field Summary | |
---|---|
org.apache.cassandra.service.AntiEntropyService.CFPair |
cf
|
static com.google.common.base.Predicate<DecoratedKey> |
DKPRED
|
static MerkleTree.RowHash |
EMPTY_ROW
|
MerkleTree |
tree
|
Method Summary | |
---|---|
void |
add(CompactionIterator.CompactedRow row)
Called (in order) for every row present in the CF. |
java.lang.Object |
call()
Called after the validation lifecycle to trigger additional action with the now valid tree. |
void |
complete()
Registers the newly created tree for rendezvous in AE_SERVICE_STAGE. |
void |
prepare()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final org.apache.cassandra.service.AntiEntropyService.CFPair cf
public final MerkleTree tree
public static final com.google.common.base.Predicate<DecoratedKey> DKPRED
public static final MerkleTree.RowHash EMPTY_ROW
Method Detail |
---|
public void prepare()
prepare
in interface AntiEntropyService.IValidator
public void add(CompactionIterator.CompactedRow row)
add
in interface AntiEntropyService.IValidator
row
- The row.public void complete()
complete
in interface AntiEntropyService.IValidator
public java.lang.Object call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<java.lang.Object>
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |