public class BinaryDeserializer extends AbstractContainerFormatDeserializer
| Modifier and Type | Field and Description |
|---|---|
static int |
FORMAT_IDENTIFIER
Format identifier.
|
CONTAINER_IDENTIFIER| Constructor and Description |
|---|
BinaryDeserializer(Configuration configuration,
IProjectContext projectContext)
Creates a new record deserializer.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<IMonitoringRecord> |
decodeRecords(java.nio.ByteBuffer buffer,
int dataSize)
Decodes the records from the container's payload.
|
protected int |
getFormatIdentifier() |
void |
init()
Lifecycle event, is called before data is read.
|
void |
terminate()
Lifecycle event, is called when the analysis terminates.
|
deserializeRecordspublic BinaryDeserializer(Configuration configuration, IProjectContext projectContext)
configuration - The configuration to useprojectContext - The project context to useprotected int getFormatIdentifier()
getFormatIdentifier in class AbstractContainerFormatDeserializerprotected java.util.List<IMonitoringRecord> decodeRecords(java.nio.ByteBuffer buffer, int dataSize) throws InvalidFormatException
AbstractContainerFormatDeserializerdecodeRecords in class AbstractContainerFormatDeserializerbuffer - The buffer to decode the data from. It is positioned at the first
byte of the payloaddataSize - The size of the payload data in bytesInvalidFormatException - When an invalid data format is encounteredpublic void init()
throws java.lang.Exception
IMonitoringRecordDeserializerjava.lang.Exception - If the initialization failspublic void terminate()
IMonitoringRecordDeserializerCopyright 2020 Kieker Project, http://kieker-monitoring.net