T
- the type of an entity to writepublic interface DataWriter<T>
DataWriter
is an interface for writer implementation
able to write entities into a store.void write(T entity) throws java.io.IOException
entity
- the entity to writejava.io.IOException
- if an I/O error occurs