public class BstatCommand extends QueryCommand
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
helpFile |
DEFAULT_JMX_URL
COMMAND_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
|
handleOption
closeJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrl
parseOptions, setCommandContext
public java.lang.String getName()
getName
in interface Command
getName
in class QueryCommand
public java.lang.String getOneLineDescription()
getOneLineDescription
in interface Command
getOneLineDescription
in class QueryCommand
protected void runTask(java.util.List<java.lang.String> tokens) throws java.lang.Exception
runTask
in class QueryCommand
tokens
- - command argumentsjava.lang.Exception
protected void printHelp()
printHelp
in class QueryCommand
Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.