Package bftsmart.tests.normal
Class CounterTestStrategy
- java.lang.Object
-
- bftsmart.tests.normal.CounterTestStrategy
-
- All Implemented Interfaces:
controller.IBenchmarkStrategy
,controller.IWorkerStatusListener
public class CounterTestStrategy extends java.lang.Object implements controller.IBenchmarkStrategy, controller.IWorkerStatusListener
-
-
Constructor Summary
Constructors Constructor Description CounterTestStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeBenchmark(controller.WorkerHandler[] workerHandlers, java.util.Properties benchmarkParameters)
void
onEnded(int workerId)
void
onError(int workerId, java.lang.String errorMessage)
void
onReady(int workerId)
void
onResult(int workerId, worker.IProcessingResult processingResult)
-
-
-
Method Detail
-
executeBenchmark
public void executeBenchmark(controller.WorkerHandler[] workerHandlers, java.util.Properties benchmarkParameters)
- Specified by:
executeBenchmark
in interfacecontroller.IBenchmarkStrategy
-
onReady
public void onReady(int workerId)
- Specified by:
onReady
in interfacecontroller.IWorkerStatusListener
-
onEnded
public void onEnded(int workerId)
- Specified by:
onEnded
in interfacecontroller.IWorkerStatusListener
-
onError
public void onError(int workerId, java.lang.String errorMessage)
- Specified by:
onError
in interfacecontroller.IWorkerStatusListener
-
onResult
public void onResult(int workerId, worker.IProcessingResult processingResult)
- Specified by:
onResult
in interfacecontroller.IWorkerStatusListener
-
-