public class JobState extends AbstractState<JobState.State,java.util.UUID>
Modifier and Type | Class and Description |
---|---|
class |
JobState.Phase |
static class |
JobState.State |
AbstractCompletable.BasePhase, AbstractCompletable.BaseSkipPhase
Completable.Result
Modifier and Type | Field and Description |
---|---|
RepairJobDesc |
desc |
JobState.Phase |
phase |
COMPLETE, currentState, INIT, stateTimesNanos
id, lastUpdatedAtNs
Constructor and Description |
---|
JobState(RepairJobDesc desc,
com.google.common.collect.ImmutableSet<InetAddressAndPort> endpoints) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<InetAddressAndPort> |
getParticipants() |
getCurrentState, getStateTimesMillis, getStatus, onComplete, updateState
getId, getInitializedAtMillis, getInitializedAtNanos, getLastUpdatedAtMillis, getLastUpdatedAtNanos, getResult, nanosToMillis, tryResult, updated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDurationMillis, getFailureCause, getId, getInitializedAtMillis, getInitializedAtNanos, getLastUpdatedAtMillis, getLastUpdatedAtNanos, getResult, getSuccessMessage, isComplete
public final RepairJobDesc desc
public final JobState.Phase phase
public JobState(RepairJobDesc desc, com.google.common.collect.ImmutableSet<InetAddressAndPort> endpoints)
public java.util.Set<InetAddressAndPort> getParticipants()
Copyright © 2009-2022 The Apache Software Foundation