Class AutoRepair.RepairProgressListener
java.lang.Object
org.apache.cassandra.repair.autorepair.AutoRepair.RepairProgressListener
- All Implemented Interfaces:
ProgressListener
- Enclosing class:
- AutoRepair
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidawait(DurationSpec.IntSecondsBound repairSessionTimeout) booleanvoidprogress(String tag, ProgressEvent event) Called when some progress is made by progress publisher.
-
Field Details
-
success
protected boolean success -
condition
-
-
Constructor Details
-
RepairProgressListener
-
-
Method Details
-
await
- Throws:
InterruptedException
-
isSuccess
public boolean isSuccess() -
progress
Description copied from interface:ProgressListenerCalled when some progress is made by progress publisher.- Specified by:
progressin interfaceProgressListener- Parameters:
tag- String that identifies progress event.event- Current progress
-