Package | Description |
---|---|
org.axonframework.config | |
org.axonframework.eventsourcing |
Classes related to event sourcing.
|
org.axonframework.spring.eventsourcing |
Modifier and Type | Method and Description |
---|---|
protected Snapshotter |
DefaultConfigurer.defaultSnapshotter(Configuration config)
Provides the default
Snapshotter implementation, defaulting to a AggregateSnapshotter . |
default Snapshotter |
Configuration.snapshotter()
Returns the
Snapshotter defined in this Configuration. |
Modifier and Type | Method and Description |
---|---|
default Configurer |
Configurer.configureSnapshotter(Function<Configuration,Snapshotter> snapshotterBuilder)
Registers a
Snapshotter instance with this Configurer . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSnapshotter
Abstract implementation of the
Snapshotter that uses a task executor to
creates snapshots. |
class |
AggregateSnapshotter
Implementation of a snapshotter that uses the actual aggregate and its state to create a snapshot event.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractSnapshotTrigger.setSnapshotter(Snapshotter snapshotter)
Sets the snapshotter
|
Constructor and Description |
---|
AbstractSnapshotTrigger(Snapshotter snapshotter,
Class<?> aggregateType)
|
AggregateLoadTimeSnapshotTriggerDefinition(Snapshotter snapshotter,
long loadTimeMillisThreshold)
Initialize a
SnapshotTriggerDefinition to trigger snapshot creation using the given snapshotter
when loading the aggregate instance takes longer than the given loadTimeMillisThreshold . |
EventCountSnapshotTriggerDefinition(Snapshotter snapshotter,
int threshold)
Initialized the SnapshotTriggerDefinition to threshold snapshots using the given
snapshotter when threshold events have been applied to an Aggregate instance |
Modifier and Type | Class and Description |
---|---|
class |
SpringAggregateSnapshotter
Snapshotter implementation that uses the AggregateRoot as state for the snapshot.
|
Copyright © 2010–2022. All rights reserved.