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.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 PerfCommand
commitInterval, destinations, duration, hdrFileName, messageCount, numDestinations, reportFileName, showLatency, txSize, warmupFields inherited from class ConnectionAbstract
clientID, protocolFields inherited from class ConnectionConfigurationAbtract
acceptor, brokerURL, CONNECTION_INFORMATION, password, silent, userFields inherited from class 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 PerfCommand
collectAndReportStatisticsWhileRunning, execute, getCompleted, getDestinations, getDuration, getHdrFileName, getMessageCount, getNumDestinations, getReportFileName, getWarmup, isShowLatency, lookupDestinations, setDestinations, setDuration, setHdrFileName, setMessageCount, setNumDestinations, setReportFileName, setShowLatency, setWarmupMethods inherited from class ConnectionAbstract
createConnectionFactory, createConnectionFactory, createCoreConnectionFactory, createCoreConnectionFactory, getClientID, getProtocol, performCoreManagement, performCoreManagement, setClientID, setProtocol, setProtocol, tryConnectMethods inherited from class ConnectionConfigurationAbtract
getAcceptor, getBrokerURL, getPassword, getUser, inputBrokerURL, inputPassword, inputUser, recoverConnectionInformation, saveConnectionInfo, setAcceptor, setBrokerURL, setPassword, setUserMethods inherited from class InputAbstract
enableInput, input, input, inputBoolean, inputInteger, inputPassword, isSilentInput, setSilentInputMethods inherited from class 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
-