Uses of Interface
org.axonframework.eventsourcing.snapshot.api.SnapshotPolicy
Packages that use SnapshotPolicy
Package
Description
Spring Boot auto configuration for Axoniq Framework.
Package containing workflow configuration components.
Part of the Axon Eventsourcing module.
Package for the sourcing handler API.
Public API for snapshotting of event-sourced entities.
-
Uses of SnapshotPolicy in io.axoniq.framework.springboot.autoconfig
Methods in io.axoniq.framework.springboot.autoconfig that return SnapshotPolicyModifier and TypeMethodDescriptionWorkflowAutoConfiguration.runningWorkflowsSnapshotPolicy(WorkflowProperties workflowProperties) Provides theSnapshotPolicyof the running-workflow list when snapshots are enabled.WorkflowAutoConfiguration.workflowStateSnapshotPolicy(WorkflowProperties workflowProperties) Provides theSnapshotPolicyof the state of each workflow instance when snapshots are enabled. -
Uses of SnapshotPolicy in io.axoniq.framework.workflow.configuration
Methods in io.axoniq.framework.workflow.configuration that return SnapshotPolicyModifier and TypeMethodDescriptionWorkflowSnapshotConfiguration.runningWorkflows()Returns theSnapshotPolicyof the running-workflow list.WorkflowSnapshotConfiguration.workflowState()Returns theSnapshotPolicyof the state of each workflow instance.Methods in io.axoniq.framework.workflow.configuration with parameters of type SnapshotPolicyModifier and TypeMethodDescriptionWorkflowSnapshotConfiguration.runningWorkflows(SnapshotPolicy runningWorkflows) Sets theSnapshotPolicyof the running-workflow list.WorkflowSnapshotConfiguration.workflowState(SnapshotPolicy workflowState) Sets theSnapshotPolicyof the state of each workflow instance. -
Uses of SnapshotPolicy in org.axonframework.eventsourcing.configuration
Methods in org.axonframework.eventsourcing.configuration with parameters of type SnapshotPolicyModifier and TypeMethodDescriptiondefault EventSourcedEntityModule.OptionalPhase<ID, E> EventSourcedEntityModule.OptionalPhase.snapshotPolicy(SnapshotPolicy snapshotPolicy) Registers an optionalSnapshotPolicyfor the event-sourced entity being built.Method parameters in org.axonframework.eventsourcing.configuration with type arguments of type SnapshotPolicyModifier and TypeMethodDescriptionEventSourcedEntityModule.OptionalPhase.snapshotPolicy(ComponentBuilder<SnapshotPolicy> snapshotPolicy) Registers an optionalComponentBuilderof aSnapshotPolicyfor the event-sourced entity being built. -
Uses of SnapshotPolicy in org.axonframework.eventsourcing.handler
Constructors in org.axonframework.eventsourcing.handler with parameters of type SnapshotPolicyModifierConstructorDescriptionSnapshottingEntityLifecycleHandler(EventStore eventStore, CriteriaResolver<I> criteriaResolver, TagResolver tagResolver, InitializingEntityEvolver<I, E> evolver, SnapshotPolicy snapshotPolicy, VersionedType versionedType, Converter converter, Class<?> entityType, SnapshotStore snapshotStore) Constructs a new instance. -
Uses of SnapshotPolicy in org.axonframework.eventsourcing.snapshot.api
Methods in org.axonframework.eventsourcing.snapshot.api that return SnapshotPolicyModifier and TypeMethodDescriptionstatic SnapshotPolicySnapshotPolicy.afterEvents(int eventCount) Creates a policy that triggers a snapshot once more than the specified number of events have been applied since the last snapshot.default SnapshotPolicySnapshotPolicy.or(SnapshotPolicy other) Composes this policy with another policy using logical OR.static SnapshotPolicySnapshotPolicy.whenEventMatches(Predicate<EventMessage> predicate) Creates a policy that triggers a snapshot when the predicate matches an event encountered during sourcing.static SnapshotPolicySnapshotPolicy.whenSourcingTimeExceeds(Duration duration) Creates a policy that triggers a snapshot if the sourcing time of the entity exceeds the specified duration.Methods in org.axonframework.eventsourcing.snapshot.api with parameters of type SnapshotPolicyModifier and TypeMethodDescriptiondefault SnapshotPolicySnapshotPolicy.or(SnapshotPolicy other) Composes this policy with another policy using logical OR.