Package 

Interface EventBatchWriter


  • 
    public interface EventBatchWriter
    
                        

    Writer allowing FeatureScope to write events in the storage.

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean write(RawBatchEvent event, ByteArray batchMetadata, EventType eventType) Writes the content of the event to the current available batch.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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 metadata
        eventType - additional information about the event data