Class PerfProducerCommand
java.lang.Object
org.apache.activemq.artemis.cli.commands.ActionAbstract
org.apache.activemq.artemis.cli.commands.InputAbstract
org.apache.activemq.artemis.cli.commands.messages.ConnectionConfigurationAbtract
org.apache.activemq.artemis.cli.commands.messages.BasicConnectionAbstract
org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
org.apache.activemq.artemis.cli.commands.messages.perf.PerfCommand
org.apache.activemq.artemis.cli.commands.messages.perf.PerfProducerCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BenchmarkServiceprotected booleanprotected booleanprotected longprotected intprotected Stringprotected booleanprotected intprotected Longprotected booleanprotected intprotected longFields inherited from class org.apache.activemq.artemis.cli.commands.messages.perf.PerfCommand
commitInterval, destinations, duration, hdrFileName, messageCount, numDestinations, reportFileName, showLatency, txSize, warmupFields inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
clientID, protocolFields inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionConfigurationAbtract
acceptor, brokerURL, CONNECTION_INFORMATION, password, silent, userFields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonExecuteBenchmark(javax.jms.ConnectionFactory factory, javax.jms.Destination[] jmsDestinations, ActionContext context) protected voidMethods inherited from class org.apache.activemq.artemis.cli.commands.messages.perf.PerfCommand
collectAndReportStatisticsWhileRunning, execute, getCompleted, getDestinations, getDuration, getHdrFileName, getMessageCount, getNumDestinations, getReportFileName, getWarmup, isShowLatency, lookupDestinations, setDestinations, setDuration, setHdrFileName, setMessageCount, setNumDestinations, setReportFileName, setShowLatency, setWarmupMethods inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
createConnectionFactory, createConnectionFactory, createCoreConnectionFactory, createCoreConnectionFactory, getClientID, getProtocol, setClientID, setProtocol, setProtocolMethods inherited from class org.apache.activemq.artemis.cli.commands.messages.BasicConnectionAbstract
createConnectionFactory, performCoreManagement, performCoreManagement, tryConnectMethods inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionConfigurationAbtract
getAcceptor, getBrokerURL, getPassword, getUser, inputBrokerURL, inputPassword, inputUser, recoverConnectionInformation, saveConnectionInfo, setAcceptor, setBrokerURL, setPassword, setUserMethods inherited from class org.apache.activemq.artemis.cli.commands.InputAbstract
enableInput, input, input, inputBoolean, inputInteger, inputPassword, isSilentInput, setSilentInputMethods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
done, getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
Field Details
-
persistent
protected boolean persistent -
messageSize
protected int messageSize -
rate
-
ttl
protected long ttl -
msgGroupID
-
producersPerDestination
protected int producersPerDestination -
threads
protected int threads -
maxPending
protected long maxPending -
enableMessageID
protected boolean enableMessageID -
enableTimestamp
protected boolean enableTimestamp -
benchmark
-
-
Constructor Details
-
PerfProducerCommand
public PerfProducerCommand()
-
-
Method Details
-
onExecuteBenchmark
protected void onExecuteBenchmark(javax.jms.ConnectionFactory factory, javax.jms.Destination[] jmsDestinations, ActionContext context) throws Exception - Specified by:
onExecuteBenchmarkin classPerfCommand- Throws:
Exception
-
onInterruptBenchmark
protected void onInterruptBenchmark()- Specified by:
onInterruptBenchmarkin classPerfCommand
-