public class RepairRunnable extends WrappedRunnable implements ProgressEventNotifier
| Constructor and Description | 
|---|
| RepairRunnable(StorageService storageService,
              int cmd,
              RepairOption options,
              java.lang.String keyspace) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addProgressListener(ProgressListener listener)Register progress listener to this publisher. | 
| protected void | fireErrorAndComplete(java.lang.String tag,
                    int progressCount,
                    int totalProgress,
                    java.lang.String message) | 
| protected void | fireProgressEvent(java.lang.String tag,
                 ProgressEvent event) | 
| void | removeProgressListener(ProgressListener listener)Remove progress listener from this publisher. | 
| protected void | runMayThrow() | 
runpublic RepairRunnable(StorageService storageService, int cmd, RepairOption options, java.lang.String keyspace)
public void addProgressListener(ProgressListener listener)
ProgressEventNotifieraddProgressListener in interface ProgressEventNotifierlistener - listener to register.public void removeProgressListener(ProgressListener listener)
ProgressEventNotifierremoveProgressListener in interface ProgressEventNotifierlistener - listener to removeprotected void fireProgressEvent(java.lang.String tag,
                                 ProgressEvent event)
protected void fireErrorAndComplete(java.lang.String tag,
                                    int progressCount,
                                    int totalProgress,
                                    java.lang.String message)
protected void runMayThrow()
                    throws java.lang.Exception
runMayThrow in class WrappedRunnablejava.lang.ExceptionCopyright © 2018 The Apache Software Foundation