[−][src]Module krill::commons::eventsourcing
Event sourcing support for Krill
Structs
AggregateHistory | |
DiskAggregateStore | |
DiskKeyStore | This type can store and retrieve values to/from disk, using json serialization. |
EventCounter | Example listener that simply counts all events |
SentCommand | Convenience wrapper so that implementations can just implement ['CommandDetails'] and leave the id and version boilerplate. |
StoredEvent |
Enums
AggregateStoreError | This type defines possible Errors for the AggregateStore |
KeyStoreError | This type defines possible Errors for KeyStore |
Traits
Aggregate | This trait defines an Aggregate for use with the event sourcing framwork. |
AggregateStore | |
Command | Commands are used to send an intent to change an aggregate. |
CommandDetails | Implement this for an enum with CommandDetails, so you you can reuse the id and version boilerplate from ['SentCommand']. |
Event | |
EventListener | This trait defines a listener for type of events. EventListeners can be registered to an AggregateStore, and will receive all events for the Aggregate as they are being stored. |
KeyStore | Generic KeyStore for AggregateManager |
Storable |