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.ConnectionConfigurationAbtract
-
- org.apache.activemq.artemis.cli.commands.messages.BasicConnectionAbstract
-
- org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
-
- org.apache.activemq.artemis.cli.commands.check.CheckAbstract
-
- org.apache.activemq.artemis.cli.commands.check.NodeCheck
-
public class NodeCheck extends CheckAbstract
-
-
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
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 NodeCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CheckTask[]getCheckTasks()IntegergetDiskUsage()IntegergetMemoryUsage()IntegergetPeers()booleanisBackup()booleanisPrimary()booleanisUp()voidsetBackup(boolean backup)voidsetDiskUsage(Integer diskUsage)voidsetLive(boolean live)voidsetMemoryUsage(Integer memoryUsage)voidsetPeers(Integer peers)voidsetPrimary(boolean primary)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.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
-
-
-
-
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)
-
isPrimary
public boolean isPrimary()
-
setLive
public void setLive(boolean live)
-
setPrimary
public void setPrimary(boolean primary)
-
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
-
-