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 SummaryModifier and Type Method Description voidonInitialization()Called by the collector during initialization (before any records are written).voidonTermination()Called by the collector upon termination (after remaining records have been flushed).voidwriteData(java.nio.ByteBuffer data, int offset, int length)Writes raw data contained in the given byte buffer.
- 
Method Details- 
writeDatavoid writeData(java.nio.ByteBuffer data, int offset, int length)Writes raw data contained in the given byte buffer.- Parameters:
- data- The buffer containing the data
- offset- The offset in the buffer where the data starts
- length- The length of the data to write
- Since:
- 1.13
 
- 
onInitializationvoid onInitialization()Called by the collector during initialization (before any records are written).- Since:
- 1.13
 
- 
onTerminationvoid onTermination()Called by the collector upon termination (after remaining records have been flushed).- Since:
- 1.13
 
 
-