Interface IMonitoringRecordDeserializer

All Known Implementing Classes:
AbstractContainerFormatDeserializer, AbstractMonitoringRecordDeserializer, BinaryDeserializer

public interface IMonitoringRecordDeserializer
Interface for monitoring record deserializers.
Since:
1.13
Author:
Holger Knoche
  • Method Summary

    Modifier and Type Method Description
    java.util.List<IMonitoringRecord> deserializeRecords​(java.nio.ByteBuffer buffer, int dataSize)
    Deserializes the records contained in the given buffer.
    void init()
    Lifecycle event, is called before data is read.
    void terminate()
    Lifecycle event, is called when the analysis terminates.
  • Method Details

    • deserializeRecords

      java.util.List<IMonitoringRecord> deserializeRecords​(java.nio.ByteBuffer buffer, int dataSize) throws InvalidFormatException
      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
      Throws:
      InvalidFormatException - If an invalid data format is detected
      Since:
      1.13
    • init

      void init() throws java.lang.Exception
      Lifecycle event, is called before data is read.
      Throws:
      java.lang.Exception - If the initialization fails
      Since:
      1.13
    • terminate

      void terminate()
      Lifecycle event, is called when the analysis terminates.
      Since:
      1.13