public static final class RepairRunnable.NeighborsAndRanges
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<CommonRange> |
commonRanges |
java.util.Set<InetAddressAndPort> |
participants |
Constructor and Description |
---|
NeighborsAndRanges(boolean shouldExcludeDeadParticipants,
java.util.Set<InetAddressAndPort> participants,
java.util.List<CommonRange> commonRanges) |
Modifier and Type | Method and 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.
|
public final java.util.Set<InetAddressAndPort> participants
public final java.util.List<CommonRange> commonRanges
public NeighborsAndRanges(boolean shouldExcludeDeadParticipants, java.util.Set<InetAddressAndPort> participants, java.util.List<CommonRange> commonRanges)
public java.util.List<CommonRange> filterCommonRanges(java.lang.String keyspace, java.lang.String[] tableNames)
Copyright © 2009- The Apache Software Foundation