kieker.monitoring.writer.filesystem.async
Class FsWriterThread
java.lang.Object
java.lang.Thread
kieker.monitoring.writer.AbstractAsyncThread
kieker.monitoring.writer.filesystem.async.AbstractFsWriterThread
kieker.monitoring.writer.filesystem.async.FsWriterThread
- All Implemented Interfaces:
- Runnable
public final class FsWriterThread
- extends AbstractFsWriterThread
- Since:
- 1.5
- Author:
- Matthias Rohr, Andre van Hoorn, Jan Waller
| 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, yield |
FsWriterThread
public FsWriterThread(IMonitoringController monitoringController,
BlockingQueue<IMonitoringRecord> writeQueue,
MappingFileWriter mappingFileWriter,
String path,
int maxEntriesInFile,
int maxLogSize,
int maxLogFiles,
boolean autoflush,
int bufferSize)
- Create a new FsWriterThread.
- Parameters:
monitoringController - the monitoring controller accessed by this threadwriteQueue - the queue where the writer fetches its records frommappingFileWriter - writer for the mapping file (the file where class names are mapped to record ids)path - location where to files should go to (the path must point to a directory)maxEntriesInFile - limit for the number of records per log filemaxLogSize - limit of the log file sizemaxLogFiles - limit of the number of log filesautoflush - if true do not use an output buffer while writingbufferSize - size of the output buffer
Copyright 2014 Kieker Project, http://kieker-monitoring.net>