Package com.ericsson.bss.cassandra.ecchronos.core.repair.state
Contains classes used to read/write the state of the repair.
-
Interface Summary Interface Description PostUpdateHook Interface for injecting code to be executed afterRepairState.update()
.RepairHistory Repair history interface.RepairHistory.RepairSession RepairHistoryProvider Interface used to retrieve repair history.RepairState Interface used by TableRepairJob to update and get a snapshot of the current repair state of a table.RepairStateFactory ReplicaRepairGroupFactory An factory interface that createsReplicaRepairGroups
based on the currently repairable vnodes.ReplicationState Replication state interface used to retrieve mappings between token range to responsible nodes.VnodeRepairStateFactory A factory to createVnodeRepairStates
for a specific table.VnodeRepairStates A collection ofVnodeRepairStates
that contains utilities to easily combine with new entries.VnodeRepairStates.Builder VnodeRepairStateSummarizer.MergeStrategy A merge strategy for adjacent sub ranges. -
Class Summary Class Description AlarmPostUpdateHook A update hook that raises and ceases alarms based on the elapsed time without repair.EccRepairHistory EccRepairHistory.Builder FullyRepairedRepairEntryPredicate NormalizedBaseRange A normalized base range (vnode) that can transform sub ranges between a normalized and traditional state.NormalizedRange A normalized range based on a "base vnode".RepairedAt Utility class to determine collective repaired at information forVnodeRepairStates
.RepairEntry An entry from the repair history.RepairHistory.NoOpRepairHistory RepairHistory.NoOpRepairSession RepairHistoryProviderImpl Implementation of the RepairHistoryProvider interface that retrieves the repair history from Cassandra.RepairStateFactoryImpl RepairStateFactoryImpl.Builder RepairStateImpl RepairStateSnapshot An immutable copy of the repair state.RepairStateSnapshot.Builder ReplicaRepairGroup A group of replicas and ranges that should be repaired together.ReplicationStateImpl Utility class to generate a token -> replicas map for a specific table.SubRangeRepairStates SubRangeRepairStates.Builder VnodeRepairGroupFactory A factory forReplicaRepairGroup
that creates repair groups for all vnodes with common replicas.VnodeRepairState A class representing the repair state of a single vnode.VnodeRepairStateFactoryImpl A repair state factory which uses aRepairHistoryProvider
to determine repair state.VnodeRepairStatesImpl VnodeRepairStatesImpl.Builder VnodeRepairStateSummarizer Utility class to handle partially repaired ranges and converting them back to full vnodes when possible in order to minimize memory usage.VnodeRepairStateUtils -
Enum Summary Enum Description RepairStatus Enum containing the different statuses a repair session can have.