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 class
JobState.Phase
static class
JobState.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 RepairJobDesc
desc
JobState.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 JobState(Clock clock, 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, 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
-
desc
public final RepairJobDesc desc
-
phase
public final JobState.Phase phase
-
-
Constructor Detail
-
JobState
public JobState(Clock clock, RepairJobDesc desc, com.google.common.collect.ImmutableSet<InetAddressAndPort> endpoints)
-
-
Method Detail
-
getParticipants
public java.util.Set<InetAddressAndPort> getParticipants()
-
-