Package org.apache.pulsar.testclient
Class PerformanceBaseArguments
java.lang.Object
org.apache.pulsar.testclient.CmdBase
org.apache.pulsar.testclient.PerformanceBaseArguments
- Direct Known Subclasses:
PerformanceTopicListArguments,PerformanceTransaction
PerformanceBaseArguments contains common CLI arguments and parsing logic available to all sub-commands.
Sub-commands should create Argument subclasses and override the `validate` method as necessary.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pulsar.testclient.CmdBase
CmdBase.ParameterException -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanintintintintlonglong -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pulsar.testclient.CmdBase
addCommand, addCommand, call, getCommander, parse, run, run
-
Field Details
-
serviceURL
-
authPluginClassName
-
authParams
-
tlsTrustCertsFilePath
-
tlsAllowInsecureConnection
-
tlsHostnameVerificationEnable
-
maxConnections
public int maxConnections -
statsIntervalSeconds
public long statsIntervalSeconds -
ioThreads
public int ioThreads -
enableBusyWait
public boolean enableBusyWait -
listenerName
-
listenerThreads
public int listenerThreads -
maxLookupRequest
public int maxLookupRequest -
deprecatedAuthPluginClassName
-
memoryLimit
public long memoryLimit
-
-
Constructor Details
-
PerformanceBaseArguments
-
-
Method Details
-
validate
Description copied from class:CmdBaseValidate the CLI arguments. Default implementation provides validation for the common arguments. Each subclass should call super.validate() and provide validation code specific to the sub-command. -
parseCLI
public void parseCLI()Parse the command line args.- Throws:
CmdBase.ParameterException- If there is a problem parsing the arguments
-