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 classValidationState.Phasestatic classValidationState.State-
Nested classes/interfaces inherited from class org.apache.cassandra.repair.state.AbstractCompletable
AbstractCompletable.BasePhase, AbstractCompletable.BaseSkipPhase
-
Nested classes/interfaces inherited from interface org.apache.cassandra.repair.state.Completable
Completable.Result
-
-
Field Summary
Fields Modifier and Type Field Description longbytesReadRepairJobDescdesclongestimatedPartitionslongestimatedTotalBytesInetAddressAndPortinitiatorlongpartitionsProcessedValidationState.Phasephase-
Fields inherited from class org.apache.cassandra.repair.state.AbstractState
COMPLETE, currentState, INIT, stateTimesNanos
-
Fields inherited from class org.apache.cassandra.repair.state.AbstractCompletable
id, lastUpdatedAtNs
-
-
Constructor Summary
Constructors Constructor Description ValidationState(RepairJobDesc desc, InetAddressAndPort initiator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetProgress()-
Methods inherited from class org.apache.cassandra.repair.state.AbstractState
getCurrentState, getStateTimesMillis, getStatus, onComplete, updateState
-
Methods inherited from class org.apache.cassandra.repair.state.AbstractCompletable
getId, getInitializedAtMillis, getInitializedAtNanos, getLastUpdatedAtMillis, getLastUpdatedAtNanos, getResult, nanosToMillis, tryResult, updated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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(RepairJobDesc desc, InetAddressAndPort initiator)
-
-