org.ow2.clif.console.lib.egui.monitor
Class ActionTestReport

java.lang.Object
  extended by java.lang.Thread
      extended by org.ow2.clif.console.lib.egui.monitor.ActionTestReport
All Implemented Interfaces:
java.lang.Runnable

public class ActionTestReport
extends java.lang.Thread

Thread which collect data at each interval of time

Author:
Tsirimiaina ANDRIANAVONIMIARINA JAONA, Joan Chaumont, Florian Francheteau

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ActionTestReport(ClifAppFacade clifApp, TableGraphComposite graph)
          Constructor
 
Method Summary
 void reset()
          Reset the global timer and reset the graph (remove all points)
 void run()
          Implementation of ActionTestReport
 void setDelay(int time)
          Set the interval of time between each thread cycle
 void stopThread()
          Stop the ActionTestReport thread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionTestReport

public ActionTestReport(ClifAppFacade clifApp,
                        TableGraphComposite graph)
Constructor

Parameters:
clifApp -
graph -
Method Detail

setDelay

public void setDelay(int time)
Set the interval of time between each thread cycle

Parameters:
time - time in millisecond

reset

public void reset()
Reset the global timer and reset the graph (remove all points)


stopThread

public void stopThread()
Stop the ActionTestReport thread


run

public void run()
Implementation of ActionTestReport

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
See Also:
IAction.run()