public class SessionState extends AbstractState<SessionState.State,TimeUUID>
Modifier and Type | Class and Description |
---|---|
class |
SessionState.Phase |
static class |
SessionState.State |
AbstractCompletable.BasePhase, AbstractCompletable.BaseSkipPhase
Completable.Result
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
cfnames |
CommonRange |
commonRange |
java.lang.String |
keyspace |
TimeUUID |
parentRepairSession |
SessionState.Phase |
phase |
COMPLETE, currentState, INIT, stateTimesNanos
id, lastUpdatedAtNs
Constructor and Description |
---|
SessionState(TimeUUID parentRepairSession,
java.lang.String keyspace,
java.lang.String[] cfnames,
CommonRange commonRange) |
Modifier and Type | Method and Description |
---|---|
JobState |
getJob(java.util.UUID id) |
java.util.Set<java.util.UUID> |
getJobIds() |
java.util.Collection<JobState> |
getJobs() |
java.util.Set<InetAddressAndPort> |
getParticipants() |
void |
register(JobState state) |
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 TimeUUID parentRepairSession
public final java.lang.String keyspace
public final java.lang.String[] cfnames
public final CommonRange commonRange
public final SessionState.Phase phase
public SessionState(TimeUUID parentRepairSession, java.lang.String keyspace, java.lang.String[] cfnames, CommonRange commonRange)
public java.util.Collection<JobState> getJobs()
public JobState getJob(java.util.UUID id)
public java.util.Set<java.util.UUID> getJobIds()
public java.util.Set<InetAddressAndPort> getParticipants()
public void register(JobState state)
Copyright © 2009-2022 The Apache Software Foundation