Package org.apache.cassandra.repair
Class CoordinatedRepairResult
java.lang.Object
org.apache.cassandra.repair.CoordinatedRepairResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Collection<Range<Token>>final Optional<List<RepairSessionResult>>final Collection<Range<Token>>final Collection<Range<Token>> -
Constructor Summary
ConstructorsConstructorDescriptionCoordinatedRepairResult(Collection<Range<Token>> successfulRanges, Collection<Range<Token>> failedRanges, Collection<Range<Token>> skippedRanges, List<RepairSessionResult> results) -
Method Summary
Modifier and TypeMethodDescriptionstatic CoordinatedRepairResultcreate(List<Collection<Range<Token>>> ranges, List<RepairSessionResult> results) booleanstatic CoordinatedRepairResultsuccess(List<RepairSessionResult> results) Utility method for tests to produce a success result; should only be used by tests as syntaxtic sugar as all results must be present else an error is thrown.
-
Field Details
-
successfulRanges
-
failedRanges
-
skippedRanges
-
results
-
-
Constructor Details
-
CoordinatedRepairResult
public CoordinatedRepairResult(Collection<Range<Token>> successfulRanges, Collection<Range<Token>> failedRanges, Collection<Range<Token>> skippedRanges, List<RepairSessionResult> results)
-
-
Method Details
-
create
public static CoordinatedRepairResult create(List<Collection<Range<Token>>> ranges, List<RepairSessionResult> results) -
success
Utility method for tests to produce a success result; should only be used by tests as syntaxtic sugar as all results must be present else an error is thrown. -
hasFailed
public boolean hasFailed()
-