Package org.apache.cassandra.repair
Class RepairJob
- java.lang.Object
-
- org.apache.cassandra.utils.concurrent.AbstractFuture<V>
-
- org.apache.cassandra.utils.concurrent.AsyncFuture<RepairResult>
-
- org.apache.cassandra.repair.RepairJob
-
- All Implemented Interfaces:
com.google.common.util.concurrent.ListenableFuture<RepairResult>,io.netty.util.concurrent.Future<RepairResult>,java.lang.Runnable,java.util.concurrent.Future<RepairResult>,Awaitable,Future<RepairResult>
public class RepairJob extends AsyncFuture<RepairResult> implements java.lang.Runnable
RepairJob runs repair on given ColumnFamily.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.utils.concurrent.Awaitable
Awaitable.AbstractAwaitable, Awaitable.AsyncAwaitable, Awaitable.Defaults, Awaitable.SyncAwaitable
-
-
Field Summary
Fields Modifier and Type Field Description JobStatestate-
Fields inherited from class org.apache.cassandra.utils.concurrent.AbstractFuture
CANCELLED, UNCANCELLABLE, UNSET
-
-
Constructor Summary
Constructors Constructor Description RepairJob(RepairSession session, java.lang.String columnFamily)Create repair job to run on specific columnfamily
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNowInSeconds()voidrun()Runs repair job.-
Methods inherited from class org.apache.cassandra.utils.concurrent.AsyncFuture
await, awaitUntil, flatMap, map
-
Methods inherited from class org.apache.cassandra.utils.concurrent.AbstractFuture
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.utils.concurrent.Future
await, awaitUninterruptibly, flatMap, rethrowIfFailed, sync, syncThrowUncheckedOnInterrupt, syncUninterruptibly
-
-
-
-
Field Detail
-
state
public final JobState state
-
-
Constructor Detail
-
RepairJob
public RepairJob(RepairSession session, java.lang.String columnFamily)
Create repair job to run on specific columnfamily- Parameters:
session- RepairSession that this RepairJob belongscolumnFamily- name of the ColumnFamily to repair
-
-