Class ParticipateState
java.lang.Object
org.apache.cassandra.repair.state.AbstractCompletable<TimeUUID>
org.apache.cassandra.repair.state.ParticipateState
- All Implemented Interfaces:
Completable<TimeUUID>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic enumNested classes/interfaces inherited from class org.apache.cassandra.repair.state.AbstractCompletable
AbstractCompletable.BasePhase, AbstractCompletable.BaseSkipPhase, AbstractCompletable.StatusNested classes/interfaces inherited from interface org.apache.cassandra.repair.state.Completable
Completable.Result -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanfinal booleanfinal InetAddressAndPortfinal ParticipateState.Phasefinal PreviewKindfinal Collection<Range<Token>>final longFields inherited from class org.apache.cassandra.repair.state.AbstractCompletable
clock, id, lastUpdatedAtNs -
Constructor Summary
ConstructorsConstructorDescriptionParticipateState(Clock clock, InetAddressAndPort initiator, PrepareMessage msg) -
Method Summary
Modifier and TypeMethodDescriptiongetOrCreateJob(RepairJobDesc desc) booleanjob(RepairJobDesc desc) register(ValidationState state) sync(RepairJobDesc desc, SyncState.Id id) toString()validation(RepairJobDesc desc) Methods inherited from class org.apache.cassandra.repair.state.AbstractCompletable
getCompletionStatus, getId, getInitializedAtMillis, getInitializedAtNanos, getLastUpdatedAtMillis, getLastUpdatedAtNanos, getResult, nanosToMillis, onComplete, tryResult, updatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.repair.state.Completable
getDurationMillis, getFailureCause, getSuccessMessage, isComplete
-
Field Details
-
initiator
-
tableIds
-
ranges
-
incremental
public final boolean incremental -
repairedAt
public final long repairedAt -
global
public final boolean global -
previewKind
-
phase
-
jobs
-
-
Constructor Details
-
ParticipateState
-
-
Method Details
-
isAccepted
public boolean isAccepted()- Specified by:
isAcceptedin classAbstractCompletable<TimeUUID>
-
job
-
getOrCreateJob
-
validation
-
register
-
sync
-
register
-
validations
-
validationIds
-
toString
-