Class LoadSimulationController


  • public class LoadSimulationController
    extends java.lang.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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.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 Detail

      • LoadSimulationController

        public LoadSimulationController​(org.apache.pulsar.testclient.LoadSimulationController.MainArguments arguments)
                                 throws java.lang.Exception
        Create 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.Exception
        Create 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.Exception
        Start a controller with command line arguments.
        Parameters:
        args - Arguments to pass in.
        Throws:
        java.lang.Exception