Package org.apache.storm.loadgen
Class CaptureLoad
java.lang.Object
org.apache.storm.loadgen.CaptureLoad
Capture running topologies for load gen later on.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_OUT_DIR
- See Also:
-
-
Constructor Details
-
CaptureLoad
public CaptureLoad()
-
-
Method Details
-
main
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 requirementscomponentId
- component for which initialization is being conductedtopologyConf
- topology configuration- Throws:
Exception
- on any error
-