Class AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot

java.lang.Object
org.apache.pekko.persistence.AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot
All Implemented Interfaces:
Serializable, Message, scala.Equals, scala.Product
Enclosing interface:
AtLeastOnceDelivery

public static class AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot extends Object implements Message, scala.Product, Serializable
Snapshot of current AtLeastOnceDelivery state. Can be retrieved with AtLeastOnceDeliveryLike.getDeliverySnapshot() and saved with Snapshotter.saveSnapshot(java.lang.Object). During recovery the snapshot received in SnapshotOffer should be set with AtLeastOnceDeliveryLike.setDeliverySnapshot(org.apache.pekko.persistence.AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot).
See Also:
  • Constructor Details

  • Method Details

    • currentDeliveryId

      public long currentDeliveryId()
    • unconfirmedDeliveries

      public scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> unconfirmedDeliveries()
    • getUnconfirmedDeliveries

      public List<AtLeastOnceDelivery.UnconfirmedDelivery> getUnconfirmedDeliveries()
      Java API
    • copy

      public AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot copy(long currentDeliveryId, scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> unconfirmedDeliveries)
    • copy$default$1

      public long copy$default$1()
    • copy$default$2

      public scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> copy$default$2()
    • 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