Package org.apache.pekko.persistence
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 Summary
ConstructorsConstructorDescriptionAtLeastOnceDeliverySnapshot(long currentDeliveryId, scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> unconfirmedDeliveries) -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(long currentDeliveryId, scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> unconfirmedDeliveries) longscala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery>longbooleanJava APIinthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery>Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
AtLeastOnceDeliverySnapshot
public AtLeastOnceDeliverySnapshot(long currentDeliveryId, scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> unconfirmedDeliveries)
-
-
Method Details
-
currentDeliveryId
public long currentDeliveryId() -
unconfirmedDeliveries
public scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> unconfirmedDeliveries() -
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
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-