module-sql-backend
module-sql-backend
edomata.backend
AggregateState
Valid
Conflicted
Backend
BackendError
BackendError
MaxRetryExceeded
PersistenceError
UnknownError
VersionConflict
Cache
Cache
CachedRepository
CommandHandler
CommandHandler
CommandState
Redundant
CommandStore
CommandStore
EventMessage
EventMetadata
JournalReader
Notifications
Notifications
NotificationsConsumer
NotificationsPublisher
OutboxItem
OutboxReader
PGNamespace
Repository
RepositoryReader
RepositoryReader
SnapshotPersistence
SnapshotReader
SnapshotStore
SnapshotStore
module-sql-backend
/
edomata.backend
/
CachedRepository
CachedRepository
final
class
CachedRepository
[
F
[
_
],
S
,
E
,
R
,
N
](
underlying:
Repository
[
F
,
S
,
E
,
R
,
N
],
cmds:
CommandStore
[
F
],
snapshot:
SnapshotStore
[
F
,
S
])(
implicit
evidence$1:
Concurrent
[
F
])
extends
Repository
[
F
,
S
,
E
,
R
,
N
]
Graph
Supertypes
trait
Repository
[
F
,
S
,
E
,
R
,
N
]
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
append
(
ctx:
RequestContext
[
_
,
_
],
version:
SeqNr
,
newState:
S
,
events:
Type
[
E
],
notifications:
Chain
[
N
]):
F
[
Unit
]
def
load
(
cmd:
CommandMessage
[
_
]):
F
[
CommandState
[
S
,
E
,
R
]]
def
notify
(
ctx:
RequestContext
[
_
,
_
],
notifications:
Type
[
N
]):
F
[
Unit
]