Package kieker.monitoring.writer.raw
Interface IRawDataWriter
- All Known Implementing Classes:
ChunkingAmqpWriter
,KafkaWriter
public interface IRawDataWriter
Interface for raw data writers.
- Since:
- 1.13
- Author:
- Holger Knoche
-
Method Summary
Modifier and Type Method Description 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).void
writeData(java.nio.ByteBuffer data, int offset, int length)
Writes raw data contained in the given byte buffer.
-
Method Details
-
writeData
void writeData(java.nio.ByteBuffer data, int offset, int length)Writes raw data contained in the given byte buffer.- Parameters:
data
- The buffer containing the dataoffset
- The offset in the buffer where the data startslength
- The length of the data to write- Since:
- 1.13
-
onInitialization
void onInitialization()Called by the collector during initialization (before any records are written).- Since:
- 1.13
-
onTermination
void onTermination()Called by the collector upon termination (after remaining records have been flushed).- Since:
- 1.13
-