Class NodeCheck
- 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.NodeCheck
-
- All Implemented Interfaces:
Action
@Command(name="node", description="Check a node") public class NodeCheck 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
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose
-
-
Constructor Summary
Constructors Constructor Description NodeCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CheckTask[]getCheckTasks()java.lang.IntegergetDiskUsage()java.lang.IntegergetMemoryUsage()java.lang.IntegergetPeers()booleanisBackup()booleanisLive()booleanisUp()voidsetBackup(boolean backup)voidsetDiskUsage(java.lang.Integer diskUsage)voidsetLive(boolean live)voidsetMemoryUsage(java.lang.Integer memoryUsage)voidsetPeers(java.lang.Integer peers)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, getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, setHomeValues
-
-
-
-
Method Detail
-
isUp
public boolean isUp()
-
setUp
public void setUp(boolean up)
-
getDiskUsage
public java.lang.Integer getDiskUsage()
-
setDiskUsage
public void setDiskUsage(java.lang.Integer diskUsage)
-
getMemoryUsage
public java.lang.Integer getMemoryUsage()
-
setMemoryUsage
public void setMemoryUsage(java.lang.Integer memoryUsage)
-
isLive
public boolean isLive()
-
setLive
public void setLive(boolean live)
-
isBackup
public boolean isBackup()
-
setBackup
public void setBackup(boolean backup)
-
getPeers
public java.lang.Integer getPeers()
-
setPeers
public void setPeers(java.lang.Integer peers)
-
getCheckTasks
protected CheckTask[] getCheckTasks()
- Specified by:
getCheckTasksin classCheckAbstract
-
-