|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
org.ow2.jasmine.monitoring.mbeancmd.commands.Stat
public class Stat
Periodically polls attributes of one or more mbeans on one or more J2EE servers.
| Field Summary | |
|---|---|
protected boolean |
goOn
|
| Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand |
|---|
arguments, logger, name, SIMPLEDATEFORMAT |
| Constructor Summary | |
|---|---|
Stat()
|
|
| Method Summary | |
|---|---|
int |
exec(CommandDispatcher cmdDispatcher)
Implementation of inherited abstract method. |
void |
help()
Calls AbstractCommand.help() and prints the DTD for the graph. |
static void |
main(java.lang.String[] args)
Tests the Stat implementation. |
void |
parseCommandLine(java.lang.String[] args)
Parses the command line arguments into commandLine. |
void |
stop()
Stop a running command |
java.lang.String |
summary()
Implementation of inherited abstract method. |
java.lang.String |
toString()
|
| Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand |
|---|
getHelpDoc, getName, setArgs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean goOn
| Constructor Detail |
|---|
public Stat()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - Arguments to pass to Stat#setArgs.public void stop()
Command
stop in interface Commandstop in class AbstractCommandpublic int exec(CommandDispatcher cmdDispatcher)
exec in interface Commandexec in class AbstractCommandAbstractCommand#exec()public void help()
AbstractCommand.help() and prints the DTD for the graph.
help in interface Commandhelp in class AbstractCommandCommand.help(),
AbstractCommand.getHelpDoc()public java.lang.String summary()
summary in interface Commandsummary in class AbstractCommandAbstractCommand.summary()
public void parseCommandLine(java.lang.String[] args)
throws org.apache.commons.cli.ParseException,
javax.management.MalformedObjectNameException
commandLine.
args - Arguments to parse.
org.apache.commons.cli.ParseException - If parsing fails.
javax.management.MalformedObjectNameException - Object name given in the command line is invalid.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||