org.apache.cassandra.service
Interface AntiEntropyService.IValidator

All Known Implementing Classes:
AntiEntropyService.NoopValidator, AntiEntropyService.Validator
Enclosing class:
AntiEntropyService

public static interface AntiEntropyService.IValidator

A Strategy to handle building and validating a merkle tree for a column family. Lifecycle: 1. prepare() - Initialize tree with samples. 2. add() - 0 or more times, to add hashes to the tree. 3. complete() - Enqueues any operations that were blocked waiting for a valid tree.


Method Summary
 void add(CompactionIterator.CompactedRow row)
           
 void complete()
           
 void prepare()
           
 

Method Detail

prepare

void prepare()

add

void add(CompactionIterator.CompactedRow row)

complete

void complete()


Copyright © 2010 The Apache Software Foundation