Kieker 1.10

kieker.monitoring.writer.filesystem.async
Class BinaryFsWriterThread

java.lang.Object
  extended by java.lang.Thread
      extended by kieker.monitoring.writer.AbstractAsyncThread
          extended by kieker.monitoring.writer.filesystem.async.AbstractFsWriterThread
              extended by kieker.monitoring.writer.filesystem.async.BinaryFsWriterThread
All Implemented Interfaces:
Runnable

public class BinaryFsWriterThread
extends AbstractFsWriterThread

Since:
1.5
Author:
Jan Waller

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BinaryFsWriterThread(IMonitoringController monitoringController, BlockingQueue<IMonitoringRecord> writeQueue, MappingFileWriter mappingFileWriter, String path, int maxEntriesInFile, int maxLogSize, int maxLogFiles, int bufferSize, BinaryCompressionMethod compressionMethod)
          Create a new BinaryFsWriterThread.
 
Method Summary
 
Methods inherited from class kieker.monitoring.writer.filesystem.async.AbstractFsWriterThread
toString
 
Methods inherited from class kieker.monitoring.writer.AbstractAsyncThread
initShutdown, isFinished, 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, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryFsWriterThread

public BinaryFsWriterThread(IMonitoringController monitoringController,
                            BlockingQueue<IMonitoringRecord> writeQueue,
                            MappingFileWriter mappingFileWriter,
                            String path,
                            int maxEntriesInFile,
                            int maxLogSize,
                            int maxLogFiles,
                            int bufferSize,
                            BinaryCompressionMethod compressionMethod)
Create a new BinaryFsWriterThread.

Parameters:
monitoringController - the monitoring controller accessed by this thread
writeQueue - the queue where the writer fetches its records from
mappingFileWriter - 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 file
maxLogSize - limit of the log file size
maxLogFiles - limit of the number of log files
bufferSize - size of the output buffer
compressionMethod - compressionMethod to be used for output

Kieker 1.10

Copyright 2014 Kieker Project, http://kieker-monitoring.net