public class ChunkingCollector extends AbstractMonitoringWriter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_CHUNK_SIZE
The name of the configuration property for the chunk size.
|
static java.lang.String |
CONFIG_DEFERRED_WRITE_DELAY
The name of the configuration property for the deferred write delay.
|
static java.lang.String |
CONFIG_OUTPUT_BUFFER_SIZE
The name of the configuration property for the output buffer size.
|
static java.lang.String |
CONFIG_QUEUE_SIZE
The name of the configuration property for the queue size.
|
static java.lang.String |
CONFIG_QUEUE_TYPE
The type of queue to use.
|
static java.lang.String |
CONFIG_SERIALIZER_CLASSNAME
The name of the configuration property for the serializer class name.
|
static java.lang.String |
CONFIG_TASK_RUN_INTERVAL
The name of the configuration property for the writer task interval.
|
static java.lang.String |
CONFIG_WRITER_CLASSNAME
The name of the configuration property for the writer class name.
|
configuration
Constructor and Description |
---|
ChunkingCollector(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
onStarting()
This event fires when Kieker has been initialized and is ready to monitor.
|
void |
onTerminating()
This event fires when Kieker has been notified to terminate.
|
void |
writeMonitoringRecord(IMonitoringRecord record)
This event fires when Kieker has received a new record.
|
toString
public static final java.lang.String CONFIG_SERIALIZER_CLASSNAME
public static final java.lang.String CONFIG_WRITER_CLASSNAME
public static final java.lang.String CONFIG_DEFERRED_WRITE_DELAY
public static final java.lang.String CONFIG_QUEUE_SIZE
public static final java.lang.String CONFIG_CHUNK_SIZE
public static final java.lang.String CONFIG_OUTPUT_BUFFER_SIZE
public static final java.lang.String CONFIG_TASK_RUN_INTERVAL
public static final java.lang.String CONFIG_QUEUE_TYPE
public ChunkingCollector(Configuration configuration)
public void onStarting()
AbstractMonitoringWriter
MonitoringWriterThread
just before reading the writer queue.onStarting
in class AbstractMonitoringWriter
public void onTerminating()
AbstractMonitoringWriter
MonitoringWriterThread
just after finishing the writer queue.onTerminating
in class AbstractMonitoringWriter
public void writeMonitoringRecord(IMonitoringRecord record)
AbstractMonitoringWriter
writeMonitoringRecord
in class AbstractMonitoringWriter
Copyright 2017 Kieker Project, http://kieker-monitoring.net