Package akka.persistence
Class AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot
- java.lang.Object
-
- akka.persistence.AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot
-
- All Implemented Interfaces:
Message
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- AtLeastOnceDelivery
public static class AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot extends java.lang.Object implements Message, scala.Product, java.io.Serializable
Snapshot of currentAtLeastOnceDelivery
state. Can be retrieved withAtLeastOnceDeliveryLike.getDeliverySnapshot()
and saved withSnapshotter.saveSnapshot(java.lang.Object)
. During recovery the snapshot received inSnapshotOffer
should be set withAtLeastOnceDeliveryLike.setDeliverySnapshot(akka.persistence.AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot)
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AtLeastOnceDeliverySnapshot(long currentDeliveryId, scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> unconfirmedDeliveries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
AtLeastOnceDelivery.AtLeastOnceDeliverySnapshot
copy(long currentDeliveryId, scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> unconfirmedDeliveries)
long
copy$default$1()
scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery>
copy$default$2()
long
currentDeliveryId()
boolean
equals(java.lang.Object x$1)
java.util.List<AtLeastOnceDelivery.UnconfirmedDelivery>
getUnconfirmedDeliveries()
Java APIint
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery>
unconfirmedDeliveries()
-
-
-
Constructor Detail
-
AtLeastOnceDeliverySnapshot
public AtLeastOnceDeliverySnapshot(long currentDeliveryId, scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> unconfirmedDeliveries)
-
-
Method Detail
-
currentDeliveryId
public long currentDeliveryId()
-
unconfirmedDeliveries
public scala.collection.immutable.Seq<AtLeastOnceDelivery.UnconfirmedDelivery> unconfirmedDeliveries()
-
getUnconfirmedDeliveries
public java.util.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 java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-