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.Awaitable.AbstractAwaitable, Awaitable.AsyncAwaitable, Awaitable.Defaults, Awaitable.SyncAwaitable
desc, nodePair, previewKind, rangesToSync, startTime, stat
CANCELLED, UNCANCELLABLE, UNSET
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() |
abort, finished, isLocal, nodePair, run
await, awaitUntil, flatMap, map
addCallback, addCallback, addCallback, addCallback, addCallback, addCallback, addListener, addListener, addListener, addListeners, await, awaitThrowUncheckedOnInterrupt, awaitThrowUncheckedOnInterrupt, awaitUninterruptibly, awaitUninterruptibly, awaitUntilThrowUncheckedOnInterrupt, awaitUntilUninterruptibly, cancel, cause, description, flatMap, get, get, getNow, getWhenDone, isCancellable, isCancelled, isDone, isSuccess, isUncancellable, map, map, notifyExecutor, removeListener, removeListeners, setUncancellable, setUncancellableExclusive, tryFailure, trySuccess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
await, awaitUninterruptibly, flatMap, rethrowIfFailed, sync, syncThrowUncheckedOnInterrupt, syncUninterruptibly
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 AbstractFuture<SyncStat>
Copyright © 2009-2022 The Apache Software Foundation