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 IOException
entity - the entity to writeIOException - if an I/O error occurs