public class BstatCommand extends QueryCommand
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
helpFile |
DEFAULT_JMX_URLCOMMAND_OPTION_DELIMETER, context| Constructor and Description |
|---|
BstatCommand() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
getOneLineDescription() |
protected void |
printHelp()
Print the help messages for the browse command
|
protected void |
runTask(java.util.List<java.lang.String> tokens)
Performs a predefiend query option
|
handleOptioncloseJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrlparseOptions, setCommandContextpublic java.lang.String getName()
getName in interface CommandgetName in class QueryCommandpublic java.lang.String getOneLineDescription()
getOneLineDescription in interface CommandgetOneLineDescription in class QueryCommandprotected void runTask(java.util.List<java.lang.String> tokens)
throws java.lang.Exception
runTask in class QueryCommandtokens - - command argumentsjava.lang.Exceptionprotected void printHelp()
printHelp in class QueryCommandCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.