Class LoadSimulationController

java.lang.Object
org.apache.pulsar.testclient.LoadSimulationController

public class LoadSimulationController extends Object
This 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

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Start a controller with command line arguments.
    void
    run()
    Create a shell for the user to send commands to clients.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LoadSimulationController

      public LoadSimulationController(org.apache.pulsar.testclient.LoadSimulationController.MainArguments arguments) throws Exception
      Create a LoadSimulationController with the given JCommander arguments.
      Parameters:
      arguments - Arguments to create from.
      Throws:
      Exception
  • Method Details

    • run

      public void run() throws Exception
      Create a shell for the user to send commands to clients.
      Throws:
      Exception
    • main

      public static void main(String[] args) throws Exception
      Start a controller with command line arguments.
      Parameters:
      args - Arguments to pass in.
      Throws:
      Exception