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 |
---|---|
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, setCommandContext
public BstatCommand()
protected void runTask(List<String> tokens) throws Exception
runTask
in class QueryCommand
tokens
- - command argumentsException
protected void printHelp()
printHelp
in class QueryCommand
Copyright © 2005–2014. All rights reserved.