Class ChunkingCollector

java.lang.Object
kieker.monitoring.writer.AbstractMonitoringWriter
kieker.monitoring.writer.collector.ChunkingCollector

public class ChunkingCollector
extends AbstractMonitoringWriter
Chunking collector for monitoring records. The collected records are written if a chunk is "full", or if no records have been written for some time (see 'deferred write delay'). This collector employs a writer task, which runs regularly and writes chunks if enough records have been collected or the deferred write delay has expired.

Configuration hints: The collector has several configuration parameters which depend on one another. In particular, the queue size should be chosen large enough so that the queue does not fill up in a single task run interval. In addition, the output buffer needs to be large enough to hold a completely serialized chunk, and therefore depends on the chunk size.

Since:
1.13
Author:
Holger Knoche