public class ValidationTask extends com.google.common.util.concurrent.AbstractFuture<TreeResponse> implements java.lang.Runnable
ValidationRequest to a replica.
When a replica sends back message, task completes.| Constructor and Description |
|---|
ValidationTask(RepairJobDesc desc,
java.net.InetAddress endpoint,
int gcBefore) |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Send ValidationRequest to replica
|
void |
treeReceived(MerkleTree tree)
Receive MerkleTree from replica node.
|
public ValidationTask(RepairJobDesc desc, java.net.InetAddress endpoint, int gcBefore)
public void run()
run in interface java.lang.Runnablepublic void treeReceived(MerkleTree tree)
tree - MerkleTree that is sent from replica. Null if validation failed on replica node.Copyright © 2015 The Apache Software Foundation