|
Kieker 1.12 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
kieker.monitoring.writer.AbstractAsyncThread
kieker.monitoring.writer.filesystem.async.AbstractZipWriterThread
kieker.monitoring.writer.filesystem.async.AsciiZipWriterThread
public class AsciiZipWriterThread
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class kieker.monitoring.writer.filesystem.async.AbstractZipWriterThread |
|---|
fileExtension, zipOutputStream |
| Fields inherited from class kieker.monitoring.writer.AbstractAsyncThread |
|---|
monitoringController |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
AsciiZipWriterThread(IMonitoringController monitoringController,
java.util.concurrent.BlockingQueue<IMonitoringRecord> writeQueue,
StringMappingFileWriter mappingFileWriter,
java.lang.String path,
int maxEntriesInFile,
int bufferSize,
int level)
Create a new AsciiZipWriterThread. |
|
| Method Summary | |
|---|---|
protected void |
cleanupFinal()
Inheriting classes should implement this method to perform a final cleanup. |
protected void |
cleanupForNextEntry()
Inheriting classes should implement this method to perform a cleanup for the next entry. |
protected void |
write(IMonitoringRecord monitoringRecord)
Inheriting classes should implement this method to actually write the monitoring record. |
| Methods inherited from class kieker.monitoring.writer.filesystem.async.AbstractZipWriterThread |
|---|
cleanup, consume, getFilename, toString |
| Methods inherited from class kieker.monitoring.writer.AbstractAsyncThread |
|---|
initShutdown, isFinished, run |
| 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, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AsciiZipWriterThread(IMonitoringController monitoringController,
java.util.concurrent.BlockingQueue<IMonitoringRecord> writeQueue,
StringMappingFileWriter mappingFileWriter,
java.lang.String path,
int maxEntriesInFile,
int bufferSize,
int level)
throws java.io.IOException
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 filebufferSize - size of the output bufferlevel - compression level
java.io.IOException - when file operation fails| Method Detail |
|---|
protected void write(IMonitoringRecord monitoringRecord)
throws java.io.IOException
AbstractZipWriterThread
write in class AbstractZipWriterThreadmonitoringRecord - The record to be written.
java.io.IOException - If something went wrong during the writing.
protected void cleanupForNextEntry()
throws java.io.IOException
AbstractZipWriterThread
cleanupForNextEntry in class AbstractZipWriterThreadjava.io.IOException - If something went wrong during the cleanup.
protected void cleanupFinal()
throws java.io.IOException
AbstractZipWriterThread
cleanupFinal in class AbstractZipWriterThreadjava.io.IOException - If something went wrong during the cleanup.
|
Kieker 1.12 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||