CatchUpStorage

public interface CatchUpStorage implements Storage<I, M, R>

A storage for the state of the ongoing catch-up processes.

Inheritors

Functions

Link copied to clipboard
public abstract Iterable<CatchUp> readAll()
Returns an Iterable over all the stored catch-up processes.
Link copied to clipboard
public abstract Iterable<CatchUp> readByType(TypeUrl projectionType)
Reads all the catch-up processes which update the projection of the specified type.
Link copied to clipboard
public abstract void write(CatchUp message)
Writes a message to the storage.

Inherited functions

Link copied to clipboard
public abstract void close()
Closes the storage.
public abstract void close()
Link copied to clipboard
public abstract Iterator<I> index()
Returns an iterator over identifiers of records in the storage.
Link copied to clipboard
public abstract boolean isMultitenant()
Verifies whether the storage is multitenant.
Link copied to clipboard
public abstract boolean isOpen()
Verifies whether the storage is open.
Link copied to clipboard
public abstract Optional<M> read(R request)
Reads a record from the storage by the specified request.
Link copied to clipboard
public abstract void write(I id, M record)
Writes a record into the storage.