public class RemoteSyncTask extends SyncTask
SyncRequest
to remote(non-coordinator) node
to repair(stream) data with other replica.
When RemoteSyncTask receives SyncComplete from remote node, task completes.desc, firstEndpoint, secondEndpoint, stat
Constructor and Description |
---|
RemoteSyncTask(RepairJobDesc desc,
java.net.InetAddress firstEndpoint,
java.net.InetAddress secondEndpoint,
java.util.List<Range<Token>> rangesToSync) |
Modifier and Type | Method and Description |
---|---|
protected void |
startSync(java.util.List<Range<Token>> differences) |
void |
syncComplete(boolean success) |
getCurrentStat, run
public RemoteSyncTask(RepairJobDesc desc, java.net.InetAddress firstEndpoint, java.net.InetAddress secondEndpoint, java.util.List<Range<Token>> rangesToSync)
Copyright © 2009- The Apache Software Foundation