Class WorkflowProperties.SnapshotPolicyProperties

java.lang.Object
io.axoniq.framework.springboot.WorkflowProperties.SnapshotPolicyProperties
Enclosing class:
WorkflowProperties

public static class WorkflowProperties.SnapshotPolicyProperties extends Object
The properties deciding when 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