Package io.axoniq.framework.springboot
Class WorkflowProperties.SnapshotPolicyProperties
java.lang.Object
io.axoniq.framework.springboot.WorkflowProperties.SnapshotPolicyProperties
- Enclosing class:
WorkflowProperties
The properties deciding when a snapshot is taken.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of sourced events after which a snapshot is taken.voidsetAfterEvents(int afterEvents) Sets the number of sourced events after which a snapshot is taken.
-
Constructor Details
-
SnapshotPolicyProperties
public SnapshotPolicyProperties()
-
-
Method Details
-
getAfterEvents
public int getAfterEvents()Returns the number of sourced events after which a snapshot is taken.- Returns:
- the number of sourced events after which a snapshot is taken
-
setAfterEvents
public void setAfterEvents(int afterEvents) Sets the number of sourced events after which a snapshot is taken.- Parameters:
afterEvents- the number of sourced events after which a snapshot is taken
-