Class CaptureLoad

java.lang.Object
org.apache.storm.loadgen.CaptureLoad

public class CaptureLoad extends Object
Capture running topologies for load gen later on.
  • Field Details

  • Constructor Details

    • CaptureLoad

      public CaptureLoad()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Main entry point for CaptureLoad command.
      Parameters:
      args - the arguments to the command
      Throws:
      Exception - on any error
    • checkInitialization

      public static void checkInitialization(Map<String,Double> topologyResources, String componentId, Map<String,Object> topologyConf)
      Checks if the topology's resource requirements are initialized. Will modify topologyResources by adding the appropriate defaults
      Parameters:
      topologyResources - map of resouces requirements
      componentId - component for which initialization is being conducted
      topologyConf - topology configuration
      Throws:
      Exception - on any error