public class CaptureLoad extends Object
Capture running topologies for load gen later on.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_OUT_DIR |
Constructor and Description |
---|
CaptureLoad() |
Modifier and Type | Method and Description |
---|---|
static void |
checkInitialization(Map<String,Double> topologyResources,
String componentId,
Map<String,Object> topologyConf)
Checks if the topology’s resource requirements are initialized.
|
static void |
main(String[] args)
Main entry point for CaptureLoad command.
|
public static final String DEFAULT_OUT_DIR
public static void main(String[] args) throws Exception
Main entry point for CaptureLoad command.
args
- the arguments to the commandException
- on any errorpublic 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
topologyResources
- map of resouces requirementscomponentId
- component for which initialization is being conductedtopologyConf
- topology configurationException
- on any errorCopyright © 2022 The Apache Software Foundation. All rights reserved.