|
||||||||||
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.CFTuple |
cf
|
static com.google.common.base.Predicate<DecoratedKey> |
DKPRED
|
java.net.InetAddress |
initiator
|
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 valdation lifecycle to trigger additional action with the now valid tree. |
void |
complete()
Depending on the initiator for the validation, either registers trees to be compared locally in AE_SERVICE_STAGE, or remotely. |
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.CFTuple cf
public final java.net.InetAddress initiator
public final MerkleTree tree
public static final com.google.common.base.Predicate<DecoratedKey> DKPRED
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 |