Package org.apache.cassandra.repair
Class RepairCoordinator.NeighborsAndRanges
- java.lang.Object
-
- org.apache.cassandra.repair.RepairCoordinator.NeighborsAndRanges
-
- Enclosing class:
- RepairCoordinator
public static final class RepairCoordinator.NeighborsAndRanges extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<CommonRange>
commonRanges
java.util.Set<InetAddressAndPort>
participants
-
Constructor Summary
Constructors Constructor Description NeighborsAndRanges(boolean shouldExcludeDeadParticipants, java.util.Set<InetAddressAndPort> participants, java.util.List<CommonRange> commonRanges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CommonRange>
filterCommonRanges(java.lang.String keyspace, java.lang.String[] tableNames)
When in the force mode, removes dead nodes from common ranges (not contained within `allNeighbors`), and exludes ranges left without any participants When not in the force mode, no-op.
-
-
-
Field Detail
-
participants
public final java.util.Set<InetAddressAndPort> participants
-
commonRanges
public final java.util.List<CommonRange> commonRanges
-
-
Constructor Detail
-
NeighborsAndRanges
public NeighborsAndRanges(boolean shouldExcludeDeadParticipants, java.util.Set<InetAddressAndPort> participants, java.util.List<CommonRange> commonRanges)
-
-
Method Detail
-
filterCommonRanges
public java.util.List<CommonRange> filterCommonRanges(java.lang.String keyspace, java.lang.String[] tableNames)
When in the force mode, removes dead nodes from common ranges (not contained within `allNeighbors`), and exludes ranges left without any participants When not in the force mode, no-op.
-
-