public interface IMonitoringRecordSerializer
Modifier and Type | Method and Description |
---|---|
void |
onInitialization()
Called by the collector during initialization (before any records are written).
|
void |
onTermination()
Called by the collector upon termination (after remaining records have been flushed).
|
int |
serializeRecord(IMonitoringRecord record,
java.nio.ByteBuffer buffer)
Serializes a single record into the given byte buffer.
|
int |
serializeRecords(java.util.Collection<IMonitoringRecord> records,
java.nio.ByteBuffer buffer)
Serializes multiple monitoring records into the given byte buffer.
|
int serializeRecord(IMonitoringRecord record, java.nio.ByteBuffer buffer)
record
- The record to serializebuffer
- The buffer to write toint serializeRecords(java.util.Collection<IMonitoringRecord> records, java.nio.ByteBuffer buffer)
records
- The records to serializebuffer
- The buffer to write tovoid onInitialization()
void onTermination()
Copyright 2017 Kieker Project, http://kieker-monitoring.net