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
context, 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()IntegergetDiskUsage()IntegergetMemoryUsage()IntegergetPeers()booleanisBackup()booleanisLive()booleanisUp()voidsetBackup(boolean backup)voidsetDiskUsage(Integer diskUsage)voidsetLive(boolean live)voidsetMemoryUsage(Integer memoryUsage)voidsetPeers(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, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, setHomeValues
-
-
-
-
Method Detail
-
isUp
public boolean isUp()
-
setUp
public void setUp(boolean up)
-
getDiskUsage
public Integer getDiskUsage()
-
setDiskUsage
public void setDiskUsage(Integer diskUsage)
-
getMemoryUsage
public Integer getMemoryUsage()
-
setMemoryUsage
public void setMemoryUsage(Integer memoryUsage)
-
isLive
public boolean isLive()
-
setLive
public void setLive(boolean live)
-
isBackup
public boolean isBackup()
-
setBackup
public void setBackup(boolean backup)
-
getPeers
public Integer getPeers()
-
setPeers
public void setPeers(Integer peers)
-
getCheckTasks
protected CheckTask[] getCheckTasks()
- Specified by:
getCheckTasksin classCheckAbstract
-
-