kieker.monitoring.writer.filesystem
Class FsWriterThread
java.lang.Object
java.lang.Thread
kieker.monitoring.writer.util.async.AbstractWorkerThread
kieker.monitoring.writer.filesystem.FsWriterThread
- All Implemented Interfaces:
- Runnable
public final class FsWriterThread
- extends AbstractWorkerThread
- Author:
- Matthias Rohr
History:
2008/05/29: Changed vmid to vmname (defaults to hostname),
which may be changed during runtime
Method Summary |
void |
initShutdown()
It is okay that it may be called multiple times for the same class |
boolean |
isFinished()
initShutdown has to be called before isFinished will result in true. |
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 |
FsWriterThread
public FsWriterThread(BlockingQueue<IMonitoringRecord> writeQueue,
MappingFileWriter mappingFileWriter,
String filenamePrefix)
initShutdown
public void initShutdown()
- It is okay that it may be called multiple times for the same class
- Specified by:
initShutdown
in class AbstractWorkerThread
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
isFinished
public boolean isFinished()
- Description copied from class:
AbstractWorkerThread
- initShutdown has to be called before isFinished will result in true.
IsFinished == true means that the worker does not have additional jobs in it's queue
and won't accept new jobs.
- Specified by:
isFinished
in class AbstractWorkerThread
Copyright 2010 the Kieker Project, http://kieker.sourceforge.net>