write

public abstract void write(I id, M record)

Writes a record into the storage.

Rewrites it if a record with this ID already exists in the storage.

Parameters

id

the ID for the record

record

the record to store

Throws

if the storage is closed