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
public class BstatCommand extends QueryCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]helpFile-
Fields inherited from class org.apache.activemq.console.command.AbstractJmxCommand
DEFAULT_JMX_URL
-
Fields inherited from class org.apache.activemq.console.command.AbstractCommand
COMMAND_OPTION_DELIMETER, context
-
-
Constructor Summary
Constructors Constructor Description BstatCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringgetOneLineDescription()protected voidprintHelp()Print the help messages for the browse commandprotected voidrunTask(List<String> tokens)Performs a predefiend query option-
Methods inherited from class org.apache.activemq.console.command.QueryCommand
handleOption
-
Methods inherited from class org.apache.activemq.console.command.AbstractJmxCommand
closeJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrl
-
Methods inherited from class org.apache.activemq.console.command.AbstractCommand
handleException, parseOptions, printHelpFromFile, setCommandContext
-
-
-
-
Field Detail
-
helpFile
protected String[] helpFile
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceCommand- Overrides:
getNamein classQueryCommand
-
getOneLineDescription
public String getOneLineDescription()
- Specified by:
getOneLineDescriptionin interfaceCommand- Overrides:
getOneLineDescriptionin classQueryCommand
-
runTask
protected void runTask(List<String> tokens) throws Exception
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
-
-