Class AbstractContainerFormatDeserializer

java.lang.Object
kieker.analysis.plugin.reader.newio.deserializer.AbstractMonitoringRecordDeserializer
kieker.analysis.plugin.reader.newio.deserializer.AbstractContainerFormatDeserializer
All Implemented Interfaces:
IMonitoringRecordDeserializer
Direct Known Subclasses:
BinaryDeserializer

public abstract class AbstractContainerFormatDeserializer
extends AbstractMonitoringRecordDeserializer
Since:
1.13
Author:
Holger Knoche
  • Field Details

  • Constructor Details

  • Method Details

    • deserializeRecords

      public java.util.List<IMonitoringRecord> deserializeRecords​(java.nio.ByteBuffer buffer, int dataSize)
      Description copied from interface: IMonitoringRecordDeserializer
      Deserializes the records contained in the given buffer.
      Parameters:
      buffer - The buffer to decode the data from
      dataSize - The size of the record data in bytes
      Returns:
      The deserialized records
    • decodeRecords

      protected abstract java.util.List<IMonitoringRecord> decodeRecords​(java.nio.ByteBuffer buffer, int dataSize) throws InvalidFormatException
      Decodes the records from the container's payload.
      Parameters:
      buffer - The buffer to decode the data from. It is positioned at the first byte of the payload
      dataSize - The size of the payload data in bytes
      Returns:
      The decoded records
      Throws:
      InvalidFormatException - When an invalid data format is encountered
    • getFormatIdentifier

      protected abstract int getFormatIdentifier()