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() |
run
public RepairRunnable(StorageService storageService, int cmd, RepairOption options, java.lang.String keyspace)
public void addProgressListener(ProgressListener listener)
ProgressEventNotifier
addProgressListener
in interface ProgressEventNotifier
listener
- listener to register.public void removeProgressListener(ProgressListener listener)
ProgressEventNotifier
removeProgressListener
in interface ProgressEventNotifier
listener
- 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 WrappedRunnable
java.lang.Exception
Copyright © 2009- The Apache Software Foundation