Class ParticipateState
- java.lang.Object
-
- org.apache.cassandra.repair.state.AbstractCompletable<TimeUUID>
-
- org.apache.cassandra.repair.state.ParticipateState
-
- All Implemented Interfaces:
Completable<TimeUUID>
public class ParticipateState extends AbstractCompletable<TimeUUID>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classParticipateState.Phase-
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 booleanglobalbooleanincrementalInetAddressAndPortinitiatorParticipateState.PhasephasePreviewKindpreviewKindjava.util.Collection<Range<Token>>rangeslongrepairedAtjava.util.List<TableId>tableIds-
Fields inherited from class org.apache.cassandra.repair.state.AbstractCompletable
id, lastUpdatedAtNs
-
-
Constructor Summary
Constructors Constructor Description ParticipateState(InetAddressAndPort initiator, PrepareMessage msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanregister(ValidationState state)java.util.Collection<java.util.UUID>validationIds()java.util.Collection<ValidationState>validations()-
Methods inherited from class org.apache.cassandra.repair.state.AbstractCompletable
getId, getInitializedAtMillis, getInitializedAtNanos, getLastUpdatedAtMillis, getLastUpdatedAtNanos, getResult, nanosToMillis, onComplete, 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, getSuccessMessage, isComplete
-
-
-
-
Field Detail
-
initiator
public final InetAddressAndPort initiator
-
tableIds
public final java.util.List<TableId> tableIds
-
incremental
public final boolean incremental
-
repairedAt
public final long repairedAt
-
global
public final boolean global
-
previewKind
public final PreviewKind previewKind
-
phase
public final ParticipateState.Phase phase
-
-
Constructor Detail
-
ParticipateState
public ParticipateState(InetAddressAndPort initiator, PrepareMessage msg)
-
-
Method Detail
-
register
public boolean register(ValidationState state)
-
validations
public java.util.Collection<ValidationState> validations()
-
validationIds
public java.util.Collection<java.util.UUID> validationIds()
-
-