Class SnapshotWhenPredicate$

  • All Implemented Interfaces:
    java.io.Serializable

    public class SnapshotWhenPredicate$
    extends java.lang.Object
    implements java.io.Serializable
    INTERNAL API

    Default instance for no snapshots which is the default.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static SnapshotWhenPredicate$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <State,​Event>
      akka.persistence.typed.scaladsl.SnapshotWhenPredicate<State,​Event>
      apply​(scala.Function3<State,​Event,​java.lang.Object,​java.lang.Object> predicate, boolean deleteEventsOnSnapshot)
      INTERNAL API
      <State,​Event>
      akka.persistence.typed.scaladsl.SnapshotWhenPredicate<State,​Event>
      noSnapshot()  
      <State,​Event>
      scala.Option<scala.Tuple2<scala.Function3<State,​Event,​java.lang.Object,​java.lang.Object>,​java.lang.Object>>
      unapply​(akka.persistence.typed.scaladsl.SnapshotWhenPredicate<State,​Event> x$0)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final SnapshotWhenPredicate$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • SnapshotWhenPredicate$

        public SnapshotWhenPredicate$()
    • Method Detail

      • noSnapshot

        public <State,​Event> akka.persistence.typed.scaladsl.SnapshotWhenPredicate<State,​Event> noSnapshot()
      • apply

        public <State,​Event> akka.persistence.typed.scaladsl.SnapshotWhenPredicate<State,​Event> apply​(scala.Function3<State,​Event,​java.lang.Object,​java.lang.Object> predicate,
                                                                                                                  boolean deleteEventsOnSnapshot)
        INTERNAL API

        Wrapper to contain the predicate and deleteEventsOnSnapshot flag

      • unapply

        public <State,​Event> scala.Option<scala.Tuple2<scala.Function3<State,​Event,​java.lang.Object,​java.lang.Object>,​java.lang.Object>> unapply​(akka.persistence.typed.scaladsl.SnapshotWhenPredicate<State,​Event> x$0)