Class BstatCommand
java.lang.Object
org.apache.activemq.console.command.AbstractCommand
org.apache.activemq.console.command.AbstractJmxCommand
org.apache.activemq.console.command.QueryCommand
org.apache.activemq.console.command.BstatCommand
- All Implemented Interfaces:
Command
-
Field Summary
FieldsFields inherited from class org.apache.activemq.console.command.AbstractJmxCommand
DEFAULT_JMX_URLFields inherited from class org.apache.activemq.console.command.AbstractCommand
COMMAND_OPTION_DELIMETER, context -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.activemq.console.command.QueryCommand
handleOptionMethods inherited from class org.apache.activemq.console.command.AbstractJmxCommand
closeJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrlMethods inherited from class org.apache.activemq.console.command.AbstractCommand
handleException, parseOptions, printHelpFromFile, setCommandContext
-
Field Details
-
helpFile
-
-
Constructor Details
-
BstatCommand
public BstatCommand()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceCommand- Overrides:
getNamein classQueryCommand
-
getOneLineDescription
- Specified by:
getOneLineDescriptionin interfaceCommand- Overrides:
getOneLineDescriptionin classQueryCommand
-
runTask
Performs a predefiend query option- Overrides:
runTaskin classQueryCommand- Parameters:
tokens- - command arguments- Throws:
Exception
-
printHelp
protected void printHelp()Print the help messages for the browse command- Overrides:
printHelpin classQueryCommand
-