Package org.apache.pulsar.testclient
Class LoadSimulationController
- java.lang.Object
-
- org.apache.pulsar.testclient.LoadSimulationController
-
public class LoadSimulationController extends java.lang.ObjectThis class provides a shell for the user to dictate how simulation clients should incur load.
-
-
Constructor Summary
Constructors Constructor Description LoadSimulationController(org.apache.pulsar.testclient.LoadSimulationController.MainArguments arguments)Create a LoadSimulationController with the given JCommander arguments.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Start a controller with command line arguments.voidrun()Create a shell for the user to send commands to clients.
-
-
-
Constructor Detail
-
LoadSimulationController
public LoadSimulationController(org.apache.pulsar.testclient.LoadSimulationController.MainArguments arguments) throws java.lang.ExceptionCreate a LoadSimulationController with the given JCommander arguments.- Parameters:
arguments- Arguments to create from.- Throws:
java.lang.Exception
-
-
Method Detail
-
run
public void run() throws java.lang.ExceptionCreate a shell for the user to send commands to clients.- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionStart a controller with command line arguments.- Parameters:
args- Arguments to pass in.- Throws:
java.lang.Exception
-
-