Class: Synapse::EventSourcing::SnapshotTaker Abstract
- Inherits:
-
Object
- Object
- Synapse::EventSourcing::SnapshotTaker
- Defined in:
- lib/synapse/event_sourcing/snapshot/taker.rb
Overview
This class is abstract.
Represents a mechanism for creating snapshot events for aggregates
Implementations can choose whether to snapshot the aggregate in the calling thread or asynchronously, though it is typically done asynchronously.
Direct Known Subclasses
Instance Method Summary collapse
-
#schedule_snapshot(type_identifier, aggregate_id) ⇒ undefined
abstract
Schedules a snapshot to be taken for an aggregate of the given type and with the given identifier.
Instance Method Details
#schedule_snapshot(type_identifier, aggregate_id) ⇒ undefined
This method is abstract.
Schedules a snapshot to be taken for an aggregate of the given type and with the given identifier
17 |
# File 'lib/synapse/event_sourcing/snapshot/taker.rb', line 17 def schedule_snapshot(type_identifier, aggregate_id); end |