Class BinarySerializer

All Implemented Interfaces:
IMonitoringRecordSerializer

public class BinarySerializer
extends AbstractContainerFormatSerializer
Serializer for the default Kieker binary record format.
Since:
1.13
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int FORMAT_IDENTIFIER
    Format identifier.

    Fields inherited from class kieker.monitoring.writer.serializer.AbstractContainerFormatSerializer

    CONTAINER_IDENTIFIER
  • Constructor Summary

    Constructors 
    Constructor Description
    BinarySerializer​(kieker.common.configuration.Configuration configuration)
    Creates a new serializer using the given configuration.
  • Method Summary

    Modifier and Type Method Description
    protected int getFormatIdentifier()
    Returns the format identifier for the contained data format.
    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).
    protected int writeRecords​(java.util.Collection<kieker.common.record.IMonitoringRecord> records, java.nio.ByteBuffer buffer)
    Write the given records to the given byte buffer.

    Methods inherited from class kieker.monitoring.writer.serializer.AbstractContainerFormatSerializer

    serializeRecord, serializeRecords

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait