-
public interface EventBatchWriterWriter allowing FeatureScope to write events in the storage exposing current batch metadata.
-
-
Method Summary
Modifier and Type Method Description abstract ByteArraycurrentMetadata()abstract Booleanwrite(RawBatchEvent event, ByteArray batchMetadata, EventType eventType)Writes the content of the event to the current available batch. -
-
Method Detail
-
currentMetadata
@WorkerThread() abstract ByteArray currentMetadata()
-
write
@WorkerThread() abstract Boolean write(RawBatchEvent event, ByteArray batchMetadata, EventType eventType)
Writes the content of the event to the current available batch.
- Parameters:
event- the event to write (content + metadata)batchMetadata- the optional updated batch metadataeventType- additional information about the event data
-
-
-
-