Class QueueCheck
- java.lang.Object
-
- org.apache.activemq.artemis.cli.commands.ActionAbstract
-
- org.apache.activemq.artemis.cli.commands.InputAbstract
-
- org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
-
- org.apache.activemq.artemis.cli.commands.AbstractAction
-
- org.apache.activemq.artemis.cli.commands.check.CheckAbstract
-
- org.apache.activemq.artemis.cli.commands.check.QueueCheck
-
- All Implemented Interfaces:
Action
@Command(name="queue", description="Check a queue") public class QueueCheck extends CheckAbstract
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.activemq.artemis.cli.commands.AbstractAction
AbstractAction.ManagementCallback<T>
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.check.CheckAbstract
name
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
acceptor, brokerURL, clientID, password, protocol, user
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
context, DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose
-
-
Constructor Summary
Constructors Constructor Description QueueCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetBrowse()protected CheckTask[]getCheckTasks()IntegergetConsume()IntegergetProduce()booleanisUp()voidsetBrowse(Integer browse)voidsetConsume(Integer consume)voidsetProduce(Integer produce)voidsetUp(boolean up)-
Methods inherited from class org.apache.activemq.artemis.cli.commands.check.CheckAbstract
execute, getName, getTimeout, setName, setTimeout
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.AbstractAction
performCoreManagement
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
createConnectionFactory, createConnectionFactory, createCoreConnectionFactory, createCoreConnectionFactory, getAcceptor, getBrokerURL, getClientID, getPassword, getProtocol, getUser, setAcceptor, setBrokerURL, setClientID, setPassword, setProtocol, 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
checkOptions, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, setHomeValues
-
-
-
-
Method Detail
-
isUp
public boolean isUp()
-
setUp
public void setUp(boolean up)
-
getBrowse
public Integer getBrowse()
-
setBrowse
public void setBrowse(Integer browse)
-
getConsume
public Integer getConsume()
-
setConsume
public void setConsume(Integer consume)
-
getProduce
public Integer getProduce()
-
setProduce
public void setProduce(Integer produce)
-
getCheckTasks
protected CheckTask[] getCheckTasks()
- Specified by:
getCheckTasksin classCheckAbstract
-
-