Class RepairedState
java.lang.Object
org.apache.cassandra.repair.consistent.RepairedState
Tracks the repaired state of token ranges per table, and is effectively an
in memory representation of the on-disk local incremental repair state.
The main purpose of this class is to provide metrics via nodetool repair_admin. To make sure those metrics
are accurate, it also determines when a completed IR session can be deleted, which is explained in a bit
more detail in LocalSessions#cleanup, by the call to isSuperseded.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Collection<Range<Token>> ranges, long repairedAt) voidgetRepairedStats(Collection<Range<Token>> ranges) longminRepairedAt(Collection<Range<Token>> ranges)
-
Constructor Details
-
RepairedState
public RepairedState()
-
-
Method Details
-
add
-
addAll
-
minRepairedAt
-
getRepairedStats
-