Class SnapshotAfter

  • All Implemented Interfaces:

    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

      • apply

        public static T apply​(ActorSystem system)
      • hashCode

        public static final int hashCode()
      • equals

        public static final boolean equals​(java.lang.Object other)
      • 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