Class Recovery$

  • All Implemented Interfaces:
    java.io.Serializable, scala.Serializable

    public class Recovery$
    extends java.lang.Object
    implements scala.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • MODULE$

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

      • Recovery$

        public Recovery$()
    • Method Detail

      • $lessinit$greater$default$2

        public long $lessinit$greater$default$2()
      • $lessinit$greater$default$3

        public long $lessinit$greater$default$3()
      • create

        public Recovery create()
        Java API
        Returns:
        (undocumented)
        See Also:
        Recovery
      • create

        public Recovery create​(long toSequenceNr)
        Java API
        Parameters:
        toSequenceNr - (undocumented)
        Returns:
        (undocumented)
        See Also:
        Recovery
      • create

        public Recovery create​(SnapshotSelectionCriteria fromSnapshot,
                               long toSequenceNr)
        Java API
        Parameters:
        fromSnapshot - (undocumented)
        toSequenceNr - (undocumented)
        Returns:
        (undocumented)
        See Also:
        Recovery
      • create

        public Recovery create​(SnapshotSelectionCriteria fromSnapshot,
                               long toSequenceNr,
                               long replayMax)
        Java API
        Parameters:
        fromSnapshot - (undocumented)
        toSequenceNr - (undocumented)
        replayMax - (undocumented)
        Returns:
        (undocumented)
        See Also:
        Recovery
      • none

        public Recovery none()
        Convenience method for skipping recovery in PersistentActor.

        It will still retrieve previously highest sequence number so that new events are persisted with higher sequence numbers rather than starting from 1 and assuming that there are no previous event with that sequence number.

        Returns:
        (undocumented)
        See Also:
        Recovery
      • apply$default$2

        public long apply$default$2()
      • apply$default$3

        public long apply$default$3()