Class PerfConsumerCommand
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.PerfConsumerCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected booleanprotected intprotected booleanFields 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
-
transaction
protected boolean transaction -
durableSubscription
protected boolean durableSubscription -
connections
protected int connections -
consumersPerDestination
protected int consumersPerDestination
-
-
Constructor Details
-
PerfConsumerCommand
public PerfConsumerCommand()
-
-
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
-