com.jalios.jcms.stat
Class StatExporter
java.lang.Object
java.lang.Thread
com.jalios.jcms.stat.StatExporter
- All Implemented Interfaces:
- Runnable
public class StatExporter
- extends 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 |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
JCMS_EXPORT_RAW_DATA
public static final String JCMS_EXPORT_RAW_DATA
- See Also:
- Constant Field Values
JCMS_EXPORT_RAW_DATA_PARAMS_MAP
public static final String JCMS_EXPORT_RAW_DATA_PARAMS_MAP
- See Also:
- Constant Field Values
TOKEN
public static final String TOKEN
- See Also:
- Constant Field Values
fromDate
protected long fromDate
toDate
protected long toDate
handler
protected StatHandler handler
isWorking
protected boolean isWorking
workspace
protected Workspace workspace
driver
protected RawDataExportHandler driver
monitorStream
protected MonitoredInputStream monitorStream
mailNotification
protected boolean mailNotification
member
protected Member member
RAW_EXPORT_DIR
public static String RAW_EXPORT_DIR
StatExporter
public StatExporter(long fromDate,
long toDate,
Workspace workspace,
RawDataExportHandler driver,
boolean mailNotification,
Member member,
String token)
getStatHandler
public StatHandler getStatHandler()
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
buildExportStatHandler
protected StatHandler buildExportStatHandler(long fromDate,
long toDate,
Workspace workspace,
RawDataExportHandler driver)
throws Exception
- Build the StatHandler
- Parameters:
fromDate
- toDate
- driver
-
- Returns:
- StatHandler
- Throws:
Exception
createRawExportListener
protected StatListener createRawExportListener(RawDataExportHandler exportDriver)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.