public class PaxosCleanup extends AsyncFuture<java.lang.Void> implements java.lang.Runnable
Awaitable.AbstractAwaitable, Awaitable.AsyncAwaitable, Awaitable.Defaults, Awaitable.SyncAwaitable
CANCELLED, UNCANCELLABLE, UNSET
Constructor and Description |
---|
PaxosCleanup(java.util.Collection<InetAddressAndPort> endpoints,
TableMetadata table,
java.util.Collection<Range<Token>> ranges,
boolean skippedReplicas,
java.util.concurrent.Executor executor) |
Modifier and Type | Method and Description |
---|---|
static PaxosCleanup |
cleanup(java.util.Collection<InetAddressAndPort> endpoints,
TableMetadata table,
java.util.Collection<Range<Token>> ranges,
boolean skippedReplicas,
java.util.concurrent.Executor executor) |
void |
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, toString, tryFailure, trySuccess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
await, awaitUninterruptibly, flatMap, rethrowIfFailed, sync, syncThrowUncheckedOnInterrupt, syncUninterruptibly
public PaxosCleanup(java.util.Collection<InetAddressAndPort> endpoints, TableMetadata table, java.util.Collection<Range<Token>> ranges, boolean skippedReplicas, java.util.concurrent.Executor executor)
public static PaxosCleanup cleanup(java.util.Collection<InetAddressAndPort> endpoints, TableMetadata table, java.util.Collection<Range<Token>> ranges, boolean skippedReplicas, java.util.concurrent.Executor executor)
public void run()
run
in interface java.lang.Runnable
Copyright © 2009- The Apache Software Foundation