Class SnapshotAfter

  • All Implemented Interfaces:
    Extension

    public class SnapshotAfter
    extends java.lang.Object
    implements Extension
    SnapshotAfter enables PersistentFSM to take periodical snapshot. See akka.persistence.fsm.snapshot-after for configuration options.
    • Constructor Detail

      • SnapshotAfter

        public SnapshotAfter​(com.typesafe.config.Config config)
    • Method Detail

      • key

        public java.lang.String key()
      • snapshotAfterValue

        public scala.Option<java.lang.Object> snapshotAfterValue()
      • isSnapshotAfterSeqNo

        public scala.Function1<java.lang.Object,​java.lang.Object> isSnapshotAfterSeqNo()
        Function that takes lastSequenceNr as the param, and returns whether the passed sequence number should trigger auto snapshot or not
        Returns:
        (undocumented)