com.jalios.jcms.stat
Class StatAnalyser

java.lang.Object
  extended by java.lang.Thread
      extended by com.jalios.jcms.stat.StatAnalyser
All Implemented Interfaces:
Runnable

public class StatAnalyser
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  StatHandler handler
           
protected  boolean isWorking
           
protected  Member loggedMember
           
protected  MonitoredInputStream monitorStream
           
protected  long nowDate
           
protected  long oldDate
           
protected  boolean render
           
protected  StatReport report
           
static String REVISION
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
StatAnalyser(long oldDate, long nowDate, StatReport report, Member loggedMember, boolean render)
           
 
Method Summary
 MonitoredInputStream getMonitoredStream()
           
 long getSpentTime(boolean elapse)
           
 StatHandler getStatHandler()
           
 int getStatus()
           
 boolean isWorking()
           
 void run()
           
 
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
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values

oldDate

protected long oldDate

nowDate

protected long nowDate

handler

protected StatHandler handler

render

protected boolean render

report

protected StatReport report

loggedMember

protected Member loggedMember

monitorStream

protected MonitoredInputStream monitorStream

isWorking

protected boolean isWorking
Constructor Detail

StatAnalyser

public StatAnalyser(long oldDate,
                    long nowDate,
                    StatReport report,
                    Member loggedMember,
                    boolean render)
Method Detail

getStatHandler

public StatHandler getStatHandler()

getMonitoredStream

public MonitoredInputStream getMonitoredStream()

isWorking

public boolean isWorking()

getStatus

public int getStatus()

getSpentTime

public long getSpentTime(boolean elapse)

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread


Copyright © 2001-2010 Jalios SA. All Rights Reserved.