| Package | Description |
|---|---|
| org.axonframework.eventsourcing |
Classes related to event sourcing.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AggregateLoadTimeSnapshotTriggerDefinition
A Snapshotter trigger mechanism which based on the loading time of an Aggregate decides when to trigger the creation
of a snapshot.
|
class |
EventCountSnapshotTriggerDefinition
Snapshotter trigger mechanism that counts the number of events to decide when to create a snapshot.
|
class |
NoSnapshotTriggerDefinition
Implementation of
SnapshotTriggerDefinition that doesn't trigger snapshots at all. |
| Modifier and Type | Field and Description |
|---|---|
protected SnapshotTriggerDefinition |
EventSourcingRepository.Builder.snapshotTriggerDefinition |
| Modifier and Type | Method and Description |
|---|---|
EventSourcedAggregate<T> |
AggregateCacheEntry.recreateAggregate(org.axonframework.modelling.command.inspection.AggregateModel<T> model,
EventStore eventStore,
org.axonframework.modelling.command.RepositoryProvider repositoryProvider,
SnapshotTriggerDefinition snapshotTriggerDefinition) |
EventSourcedAggregate<T> |
AggregateCacheEntry.recreateAggregate(org.axonframework.modelling.command.inspection.AggregateModel<T> model,
EventStore eventStore,
SnapshotTriggerDefinition snapshotTriggerDefinition) |
EventSourcingRepository.Builder<T> |
EventSourcingRepository.Builder.snapshotTriggerDefinition(SnapshotTriggerDefinition snapshotTriggerDefinition)
Sets the
SnapshotTriggerDefinition specifying when to trigger a snapshot for an Aggregate contained
in this repository. |
Copyright © 2010–2024. All rights reserved.