server
1.9.0
jvm
server
/
io.spine.server.delivery
/
CatchUpStorage
Catch
Up
Storage
public
interface
CatchUpStorage
implements
Storage
<
I
,
M
,
R
>
A storage for the state of the ongoing catch-up processes.
Inheritors
InMemoryCatchUpStorage
Members
Functions
read
All
Link copied to clipboard
public
abstract
Iterable
<
CatchUp
>
readAll
(
)
Returns an
Iterable
over all the stored catch-up processes.
read
By
Type
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.
write
Link copied to clipboard
public
abstract
void
write
(
CatchUp message
)
Writes a message to the storage.
Inherited functions
close
Link copied to clipboard
public
abstract
void
close
(
)
Closes the storage.
public
abstract
void
close
(
)
index
Link copied to clipboard
public
abstract
Iterator
<
I
>
index
(
)
Returns an iterator over identifiers of records in the storage.
is
Multitenant
Link copied to clipboard
public
abstract
boolean
isMultitenant
(
)
Verifies whether the storage is multitenant.
is
Open
Link copied to clipboard
public
abstract
boolean
isOpen
(
)
Verifies whether the storage is open.
read
Link copied to clipboard
public
abstract
Optional
<
M
>
read
(
R
request
)
Reads a record from the storage by the specified request.
write
Link copied to clipboard
public
abstract
void
write
(
I
id
,
M
record
)
Writes a record into the storage.