public abstract class SyncTask extends com.google.common.util.concurrent.AbstractFuture<SyncStat> implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected RepairJobDesc |
desc |
protected TreeResponse |
r1 |
protected TreeResponse |
r2 |
protected SyncStat |
stat |
Constructor and Description |
---|
SyncTask(RepairJobDesc desc,
TreeResponse r1,
TreeResponse r2) |
Modifier and Type | Method and Description |
---|---|
SyncStat |
getCurrentStat() |
void |
run()
Compares trees, and triggers repairs for any ranges that mismatch.
|
protected abstract void |
startSync(java.util.List<Range<Token>> differences) |
protected final RepairJobDesc desc
protected final TreeResponse r1
protected final TreeResponse r2
protected volatile SyncStat stat
public SyncTask(RepairJobDesc desc, TreeResponse r1, TreeResponse r2)
Copyright © 2015 The Apache Software Foundation