Class ValidationState
- java.lang.Object
-
- org.apache.cassandra.repair.state.AbstractCompletable<I>
-
- org.apache.cassandra.repair.state.AbstractState<ValidationState.State,java.util.UUID>
-
- org.apache.cassandra.repair.state.ValidationState
-
- All Implemented Interfaces:
Completable<java.util.UUID>
,State<ValidationState.State,java.util.UUID>
public class ValidationState extends AbstractState<ValidationState.State,java.util.UUID>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ValidationState.Phase
static class
ValidationState.State
-
Nested classes/interfaces inherited from class org.apache.cassandra.repair.state.AbstractState
AbstractState.UpdateType
-
Nested classes/interfaces inherited from class org.apache.cassandra.repair.state.AbstractCompletable
AbstractCompletable.BasePhase, AbstractCompletable.BaseSkipPhase, AbstractCompletable.Status
-
Nested classes/interfaces inherited from interface org.apache.cassandra.repair.state.Completable
Completable.Result
-
-
Field Summary
Fields Modifier and Type Field Description long
bytesRead
RepairJobDesc
desc
long
estimatedPartitions
long
estimatedTotalBytes
InetAddressAndPort
initiator
long
partitionsProcessed
ValidationState.Phase
phase
-
Fields inherited from class org.apache.cassandra.repair.state.AbstractState
COMPLETE, currentState, INIT, stateTimesNanos
-
Fields inherited from class org.apache.cassandra.repair.state.AbstractCompletable
clock, id, lastUpdatedAtNs
-
-
Constructor Summary
Constructors Constructor Description ValidationState(Clock clock, RepairJobDesc desc, InetAddressAndPort initiator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getProgress()
-
Methods inherited from class org.apache.cassandra.repair.state.AbstractState
getCurrentState, getStateTimesMillis, getStatus, isAccepted, maybeUpdateState, onComplete, status, toString, updateState
-
Methods inherited from class org.apache.cassandra.repair.state.AbstractCompletable
getCompletionStatus, getId, getInitializedAtMillis, getInitializedAtNanos, getLastUpdatedAtMillis, getLastUpdatedAtNanos, getResult, nanosToMillis, tryResult, updated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.repair.state.Completable
getDurationMillis, getFailureCause, getId, getInitializedAtMillis, getInitializedAtNanos, getLastUpdatedAtMillis, getLastUpdatedAtNanos, getResult, getSuccessMessage, isComplete
-
-
-
-
Field Detail
-
phase
public final ValidationState.Phase phase
-
desc
public final RepairJobDesc desc
-
initiator
public final InetAddressAndPort initiator
-
estimatedPartitions
public long estimatedPartitions
-
estimatedTotalBytes
public long estimatedTotalBytes
-
partitionsProcessed
public long partitionsProcessed
-
bytesRead
public long bytesRead
-
-
Constructor Detail
-
ValidationState
public ValidationState(Clock clock, RepairJobDesc desc, InetAddressAndPort initiator)
-
-