write

public void write(CatchUp message)

Writes a message to the storage.

Parameters

message

a message to write


public void write(CatchUpId id, CatchUp 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