write

public void write(I id, AggregateHistory events)

Writes events into the storage.

NOTE: does not rewrite any events. Several events can be associated with one aggregate ID.

Parameters

id

the ID for the record

events

non empty aggregate state record to store