Package bftsmart.tests.recovery
Class RecoveryTestStrategy
- java.lang.Object
-
- bftsmart.tests.recovery.RecoveryTestStrategy
-
- All Implemented Interfaces:
controller.IBenchmarkStrategy,controller.IWorkerStatusListener
public class RecoveryTestStrategy extends java.lang.Object implements controller.IBenchmarkStrategy, controller.IWorkerStatusListener
-
-
Constructor Summary
Constructors Constructor Description RecoveryTestStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteBenchmark(controller.WorkerHandler[] workerHandlers, java.util.Properties benchmarkParameters)voidonEnded(int workerId)voidonError(int workerId, java.lang.String errorMessage)voidonReady(int workerId)voidonResult(int workerId, worker.IProcessingResult processingResult)
-
-
-
Method Detail
-
executeBenchmark
public void executeBenchmark(controller.WorkerHandler[] workerHandlers, java.util.Properties benchmarkParameters)- Specified by:
executeBenchmarkin interfacecontroller.IBenchmarkStrategy
-
onReady
public void onReady(int workerId)
- Specified by:
onReadyin interfacecontroller.IWorkerStatusListener
-
onEnded
public void onEnded(int workerId)
- Specified by:
onEndedin interfacecontroller.IWorkerStatusListener
-
onError
public void onError(int workerId, java.lang.String errorMessage)- Specified by:
onErrorin interfacecontroller.IWorkerStatusListener
-
onResult
public void onResult(int workerId, worker.IProcessingResult processingResult)- Specified by:
onResultin interfacecontroller.IWorkerStatusListener
-
-