Class StatQueue
- 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.queue.StatQueue
-
public class StatQueue extends ConnectionAbstract
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatQueue.FIELDstatic classStatQueue.OPERATION
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_MAX_COLUMN_SIZEstatic intDEFAULT_MAX_ROWS-
Fields inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
clientID, protocol
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionConfigurationAbtract
acceptor, brokerURL, CONNECTION_INFORMATION, password, silent, user
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose
-
-
Constructor Summary
Constructors Constructor Description StatQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(ActionContext context)booleanisJson()booleanisSingleLineHeader()StatQueuesetFieldName(String fieldName)StatQueuesetJson(boolean json)StatQueuesetMaxColumnSize(int maxColumnSize)StatQueuesetMaxRows(int maxRows)StatQueuesetOperationName(String operationName)StatQueuesetQueueName(String queueName)StatQueuesetSingleLineHeader(boolean singleLineHeader)StatQueuesetValue(String value)StatQueuesetverbose(boolean verbose)-
Methods inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
createConnectionFactory, createConnectionFactory, createCoreConnectionFactory, createCoreConnectionFactory, getClientID, getProtocol, setClientID, setProtocol, setProtocol
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.messages.BasicConnectionAbstract
createConnectionFactory, performCoreManagement, performCoreManagement, tryConnect
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionConfigurationAbtract
getAcceptor, getBrokerURL, getPassword, getUser, inputBrokerURL, inputPassword, inputUser, recoverConnectionInformation, saveConnectionInfo, setAcceptor, setBrokerURL, setPassword, setUser
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.InputAbstract
enableInput, input, input, inputBoolean, inputInteger, inputPassword, isSilentInput, setSilentInput
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
done, getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
-
-
-
Field Detail
-
DEFAULT_MAX_ROWS
public static final int DEFAULT_MAX_ROWS
- See Also:
- Constant Field Values
-
DEFAULT_MAX_COLUMN_SIZE
public static final int DEFAULT_MAX_COLUMN_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSingleLineHeader
public boolean isSingleLineHeader()
-
setSingleLineHeader
public StatQueue setSingleLineHeader(boolean singleLineHeader)
-
setMaxRows
public StatQueue setMaxRows(int maxRows)
-
setMaxColumnSize
public StatQueue setMaxColumnSize(int maxColumnSize)
-
setverbose
public StatQueue setverbose(boolean verbose)
-
isJson
public boolean isJson()
-
setJson
public StatQueue setJson(boolean json)
-
execute
public Object execute(ActionContext context) throws Exception
- Specified by:
executein interfaceAction- Overrides:
executein classConnectionConfigurationAbtract- Throws:
Exception
-
-