|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.jalios.jcms.stat.StatExporter
public class StatExporter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected RawDataExportHandler |
driver
|
protected long |
fromDate
|
protected StatHandler |
handler
|
protected boolean |
isWorking
|
static java.lang.String |
JCMS_EXPORT_RAW_DATA
|
static java.lang.String |
JCMS_EXPORT_RAW_DATA_PARAMS_MAP
|
protected boolean |
mailNotification
|
protected Member |
member
|
protected MonitoredInputStream |
monitorStream
|
static java.lang.String |
RAW_EXPORT_DIR
|
static java.lang.String |
REVISION
|
protected long |
toDate
|
static java.lang.String |
TOKEN
|
protected Workspace |
workspace
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
StatExporter(long fromDate,
long toDate,
Workspace workspace,
RawDataExportHandler driver,
boolean mailNotification,
Member member,
java.lang.String token)
|
|
| Method Summary | |
|---|---|
protected StatHandler |
buildExportStatHandler(long fromDate,
long toDate,
Workspace workspace,
RawDataExportHandler driver)
Build the StatHandler |
protected StatListener |
createRawExportListener(RawDataExportHandler exportDriver)
|
long |
getSpentTime(boolean elapse)
|
StatHandler |
getStatHandler()
|
int |
getStatus()
|
boolean |
isWorking()
|
void |
run()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String REVISION
public static final java.lang.String JCMS_EXPORT_RAW_DATA
public static final java.lang.String JCMS_EXPORT_RAW_DATA_PARAMS_MAP
public static final java.lang.String TOKEN
protected long fromDate
protected long toDate
protected StatHandler handler
protected boolean isWorking
protected Workspace workspace
protected RawDataExportHandler driver
protected MonitoredInputStream monitorStream
protected boolean mailNotification
protected Member member
public static java.lang.String RAW_EXPORT_DIR
| Constructor Detail |
|---|
public StatExporter(long fromDate,
long toDate,
Workspace workspace,
RawDataExportHandler driver,
boolean mailNotification,
Member member,
java.lang.String token)
| Method Detail |
|---|
public StatHandler getStatHandler()
public boolean isWorking()
public int getStatus()
public long getSpentTime(boolean elapse)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
protected StatHandler buildExportStatHandler(long fromDate,
long toDate,
Workspace workspace,
RawDataExportHandler driver)
throws java.lang.Exception
fromDate - toDate - driver -
java.lang.Exceptionprotected StatListener createRawExportListener(RawDataExportHandler exportDriver)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||