-
public interface DataWriter<T extends Object>Interface to be implemented by the class which wants to write arbitrary data with the given EventBatchWriter.
-
-
Method Summary
Modifier and Type Method Description abstract Booleanwrite(EventBatchWriter writer, T element, EventType eventType)Writes the element with a given EventBatchWriter. -
-
Method Detail
-
write
@WorkerThread() abstract Boolean write(EventBatchWriter writer, T element, EventType eventType)
Writes the element with a given EventBatchWriter.
- Parameters:
writer- the writer to useelement- the event to writeeventType- additional info about the event
-
-
-
-