Uses of Interface
org.axonframework.eventsourcing.SnapshotTrigger
Packages that use SnapshotTrigger
-
Uses of SnapshotTrigger in org.axonframework.eventsourcing
Classes in org.axonframework.eventsourcing that implement SnapshotTriggerModifier and TypeClassDescriptionclassAbstract implementation of theSnapshotTriggerthat schedules snapshots on the Unit of Work.Fields in org.axonframework.eventsourcing declared as SnapshotTriggerModifier and TypeFieldDescriptionstatic final SnapshotTriggerNoSnapshotTriggerDefinition.TRIGGERA singleton instance of aSnapshotTriggerthat does nothing.Methods in org.axonframework.eventsourcing that return SnapshotTriggerModifier and TypeMethodDescriptionEventSourcedAggregate.getSnapshotTrigger()The trigger instance that monitors this aggregate to trigger a snapshotAggregateLoadTimeSnapshotTriggerDefinition.prepareTrigger(Class<?> aggregateType) EventCountSnapshotTriggerDefinition.prepareTrigger(Class<?> aggregateType) NoSnapshotTriggerDefinition.prepareTrigger(Class<?> aggregateType) SnapshotTriggerDefinition.prepareTrigger(Class<?> aggregateType) Prepares a new trigger for an aggregate with the givenaggregateIdentifierandaggregateType.AggregateLoadTimeSnapshotTriggerDefinition.reconfigure(Class<?> aggregateType, SnapshotTrigger trigger) EventCountSnapshotTriggerDefinition.reconfigure(Class<?> aggregateType, SnapshotTrigger trigger) default SnapshotTriggerSnapshotTriggerDefinition.reconfigure(Class<?> aggregateType, SnapshotTrigger trigger) Reconfigure the necessary infrastructure components in the giventrigger instance, which may have been lost in the (de)serialization process.Methods in org.axonframework.eventsourcing with parameters of type SnapshotTriggerModifier and TypeMethodDescriptionstatic <T> EventSourcedAggregate<T> EventSourcedAggregate.initialize(Callable<T> aggregateFactory, AggregateModel<T> inspector, EventBus eventBus, SnapshotTrigger snapshotTrigger) Initializes an EventSourcedAggregate instance using the givenaggregateFactory, based on the giveninspector, which publishes events to the giveneventBusand stores events in the giveneventStore.static <T> EventSourcedAggregate<T> EventSourcedAggregate.initialize(Callable<T> aggregateFactory, AggregateModel<T> inspector, EventBus eventBus, RepositoryProvider repositoryProvider, SnapshotTrigger snapshotTrigger) Initializes an EventSourcedAggregate instance using the givenaggregateFactory, based on the giveninspector, which publishes events to the giveneventBusand stores events in the giveneventStore.static <T> EventSourcedAggregate<T> EventSourcedAggregate.initialize(T aggregateRoot, AggregateModel<T> inspector, EventBus eventBus, SnapshotTrigger snapshotTrigger) Initializes an EventSourcedAggregate instance for the givenaggregateRoot, based on the giveninspector, which publishes events to the giveneventBus.static <T> EventSourcedAggregate<T> EventSourcedAggregate.initialize(T aggregateRoot, AggregateModel<T> inspector, EventBus eventBus, RepositoryProvider repositoryProvider, SnapshotTrigger snapshotTrigger) Initializes an EventSourcedAggregate instance for the givenaggregateRoot, based on the giveninspector, which publishes events to the giveneventBus.AggregateLoadTimeSnapshotTriggerDefinition.reconfigure(Class<?> aggregateType, SnapshotTrigger trigger) EventCountSnapshotTriggerDefinition.reconfigure(Class<?> aggregateType, SnapshotTrigger trigger) default SnapshotTriggerSnapshotTriggerDefinition.reconfigure(Class<?> aggregateType, SnapshotTrigger trigger) Reconfigure the necessary infrastructure components in the giventrigger instance, which may have been lost in the (de)serialization process.static <T> EventSourcedAggregate<T> EventSourcedAggregate.reconstruct(T aggregateRoot, AggregateModel<T> model, long seqNo, boolean isDeleted, EventBus eventBus, SnapshotTrigger snapshotTrigger) Reconstructs an EventSourcedAggregate instance with givenaggregateRoot.static <T> EventSourcedAggregate<T> EventSourcedAggregate.reconstruct(T aggregateRoot, AggregateModel<T> model, long seqNo, boolean isDeleted, EventBus eventBus, RepositoryProvider repositoryProvider, SnapshotTrigger snapshotTrigger) Reconstructs an EventSourcedAggregate instance with givenaggregateRoot.Constructors in org.axonframework.eventsourcing with parameters of type SnapshotTriggerModifierConstructorDescriptionprotectedEventSourcedAggregate(AggregateModel<T> model, EventBus eventBus, SnapshotTrigger snapshotTrigger) Creates a new EventSourcedAggregate instance based on the givenmodel, which publishes events to the giveneventBus.protectedEventSourcedAggregate(AggregateModel<T> model, EventBus eventBus, RepositoryProvider repositoryProvider, SnapshotTrigger snapshotTrigger) Creates a new EventSourcedAggregate instance based on the givenmodel, which publishes events to the giveneventBus.protectedEventSourcedAggregate(T aggregateRoot, AggregateModel<T> model, EventBus eventBus, SnapshotTrigger snapshotTrigger) Initializes an Aggregate instance for the givenaggregateRoot, based on the givenmodel, which publishes events to the giveneventBus.protectedEventSourcedAggregate(T aggregateRoot, AggregateModel<T> model, EventBus eventBus, RepositoryProvider repositoryProvider, SnapshotTrigger snapshotTrigger) Initializes an Aggregate instance for the givenaggregateRoot, based on the givenmodel, which publishes events to the giveneventBus.