com.sun.enterprise.admin.cli
Class MonitorTask
java.lang.Object
java.util.TimerTask
com.sun.enterprise.admin.cli.MonitorTask
- All Implemented Interfaces:
- Runnable
public class MonitorTask
- extends TimerTask
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private String type
filter
private String filter
timer
private Timer timer
fileName
private File fileName
remoteArgs
private String[] remoteArgs
exceptionMessage
private String exceptionMessage
cmd
private RemoteCommand cmd
NUM_ROWS
private static final int NUM_ROWS
- See Also:
- Constant Field Values
counter
private int counter
logger
private static final Logger logger
strings
private static final LocalStringsImpl strings
MonitorTask
public MonitorTask(Timer timer,
String[] remoteArgs,
ProgramOptions programOpts,
Environment env,
String type,
String filter,
File fileName)
throws CommandException,
CommandValidationException
- Throws:
CommandException
CommandValidationException
displayHeader
void displayHeader(String type)
cancelMonitorTask
void cancelMonitorTask()
run
public void run()
- Specified by:
run in interface Runnable- Specified by:
run in class TimerTask
getExceptionMessage
public String getExceptionMessage()
displayDetails
public void displayDetails()
Copyright © 2012 GlassFish Community. All Rights Reserved.