Class JournalProtocol.RecoverySuccess

java.lang.Object
org.apache.pekko.persistence.JournalProtocol.RecoverySuccess
All Implemented Interfaces:
Serializable, DeadLetterSuppression, NoSerializationVerificationNeeded, JournalProtocol.Message, JournalProtocol.Response, Protocol.Message, scala.Equals, scala.Product
Enclosing class:
JournalProtocol

public static class JournalProtocol.RecoverySuccess extends Object implements JournalProtocol.Response, DeadLetterSuppression, scala.Product, Serializable
Reply message to a successful JournalProtocol.ReplayMessages request. This reply is sent to the requestor after all JournalProtocol.ReplayedMessage have been sent (if any).

It includes the highest stored sequence number of a given persistent actor. Note that the replay might have been limited to a lower sequence number.

param: highestSequenceNr highest stored sequence number.

See Also:
  • Constructor Details

    • RecoverySuccess

      public RecoverySuccess(long highestSequenceNr)
  • Method Details

    • highestSequenceNr

      public long highestSequenceNr()
    • copy

      public JournalProtocol.RecoverySuccess copy(long highestSequenceNr)
    • copy$default$1

      public long copy$default$1()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object