public class BstatCommand extends QueryCommand
Modifier and Type | Field and Description |
---|---|
protected String[] |
helpFile |
DEFAULT_JMX_URL
COMMAND_OPTION_DELIMETER, context
Constructor and Description |
---|
BstatCommand() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getOneLineDescription() |
protected void |
printHelp()
Print the help messages for the browse command
|
protected void |
runTask(List<String> tokens)
Performs a predefiend query option
|
handleOption
closeJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrl
parseOptions, printHelpFromFile, setCommandContext
public BstatCommand()
public String getName()
getName
in interface Command
getName
in class QueryCommand
public String getOneLineDescription()
getOneLineDescription
in interface Command
getOneLineDescription
in class QueryCommand
protected void runTask(List<String> tokens) throws Exception
runTask
in class QueryCommand
tokens
- - command argumentsException
protected void printHelp()
printHelp
in class QueryCommand
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.