public class RepairJob
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
RepairJobDesc |
desc |
| Constructor and Description |
|---|
RepairJob(java.util.UUID sessionId,
java.lang.String keyspace,
java.lang.String columnFamily,
Range<Token> range,
boolean isSequential)
Create repair job to run on specific columnfamily
|
| Modifier and Type | Method and Description |
|---|---|
int |
addTree(java.net.InetAddress endpoint,
MerkleTree tree)
Add a new received tree and return the number of remaining tree to
be received for the job to be complete.
|
boolean |
isFailed() |
void |
makeSnapshots(java.util.Collection<java.net.InetAddress> endpoints) |
void |
sendTreeRequests(java.util.Collection<java.net.InetAddress> endpoints)
Send merkle tree request to every involved neighbor.
|
void |
submitDifferencers()
Submit differencers for running.
|
void |
terminate()
terminate this job.
|
public final RepairJobDesc desc
public boolean isFailed()
public void sendTreeRequests(java.util.Collection<java.net.InetAddress> endpoints)
public void makeSnapshots(java.util.Collection<java.net.InetAddress> endpoints)
public int addTree(java.net.InetAddress endpoint,
MerkleTree tree)
endpoint - address of the endpoint that sent responsetree - sent Merkle tree or null if validation failed on endpointpublic void submitDifferencers()
public void terminate()
Copyright © 2013 The Apache Software Foundation