public class AsymmetricRemoteSyncTask extends SyncTask implements CompletableRemoteSyncTask
SyncRequest
to target node to repair(stream)
data with other target replica.
When AsymmetricRemoteSyncTask receives SyncComplete from the target, task completes.desc, nodePair, previewKind, rangesToSync, startTime, stat
Constructor and Description |
---|
AsymmetricRemoteSyncTask(RepairJobDesc desc,
InetAddressAndPort to,
InetAddressAndPort from,
java.util.List<Range<Token>> differences,
PreviewKind previewKind) |
Modifier and Type | Method and Description |
---|---|
void |
startSync() |
void |
syncComplete(boolean success,
java.util.List<SessionSummary> summaries) |
java.lang.String |
toString() |
public AsymmetricRemoteSyncTask(RepairJobDesc desc, InetAddressAndPort to, InetAddressAndPort from, java.util.List<Range<Token>> differences, PreviewKind previewKind)
public void syncComplete(boolean success, java.util.List<SessionSummary> summaries)
syncComplete
in interface CompletableRemoteSyncTask
public java.lang.String toString()
toString
in class com.google.common.util.concurrent.AbstractFuture<SyncStat>
Copyright © 2009-2021 The Apache Software Foundation