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 TypeMethodDescriptiondeserializeRecords(ByteBuffer buffer, int dataSize) Deserializes the records contained in the given buffer.voidinit()Lifecycle event, is called before data is read.voidLifecycle event, is called when the analysis terminates.
-
Method Details
-
deserializeRecords
List<IMonitoringRecord> deserializeRecords(ByteBuffer buffer, int dataSize) throws InvalidFormatException Deserializes the records contained in the given buffer.- Parameters:
buffer- The buffer to decode the data fromdataSize- 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
Lifecycle event, is called before data is read.- Throws:
Exception- If the initialization fails- Since:
- 1.13
-
terminate
void terminate()Lifecycle event, is called when the analysis terminates.- Since:
- 1.13
-