Class JobState
- java.lang.Object
-
- org.apache.cassandra.repair.state.AbstractCompletable<I>
-
- org.apache.cassandra.repair.state.AbstractState<JobState.State,java.util.UUID>
-
- org.apache.cassandra.repair.state.JobState
-
- All Implemented Interfaces:
Completable<java.util.UUID>,State<JobState.State,java.util.UUID>
public class JobState extends AbstractState<JobState.State,java.util.UUID>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classJobState.Phasestatic classJobState.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 RepairJobDescdescJobState.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 JobState(RepairJobDesc desc, com.google.common.collect.ImmutableSet<InetAddressAndPort> endpoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<InetAddressAndPort>getParticipants()-
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
-
desc
public final RepairJobDesc desc
-
phase
public final JobState.Phase phase
-
-
Constructor Detail
-
JobState
public JobState(RepairJobDesc desc, com.google.common.collect.ImmutableSet<InetAddressAndPort> endpoints)
-
-
Method Detail
-
getParticipants
public java.util.Set<InetAddressAndPort> getParticipants()
-
-