Class DurableProducerQueue.State<A>
java.lang.Object
org.apache.pekko.actor.typed.delivery.DurableProducerQueue.State<A>
- All Implemented Interfaces:
Serializable,DeliverySerializable,scala.Equals,scala.Product
- Enclosing class:
- DurableProducerQueue
public static final class DurableProducerQueue.State<A>
extends Object
implements DeliverySerializable, scala.Product, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf not all chunked messages were stored before crash those partial chunked messages should not be resent.<A> DurableProducerQueue.State<A>copy(long currentSeqNr, long highestConfirmedSeqNr, scala.collection.immutable.Map<String, scala.Tuple2<Object, Object>> confirmedSeqNr, scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>> unconfirmed) <A> long<A> long<A> scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>>longbooleaninthashCode()longintproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>>Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
State
public State(long currentSeqNr, long highestConfirmedSeqNr, scala.collection.immutable.Map<String, scala.Tuple2<Object, Object>> confirmedSeqNr, scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>> unconfirmed)
-
-
Method Details
-
currentSeqNr
public long currentSeqNr() -
highestConfirmedSeqNr
public long highestConfirmedSeqNr() -
confirmedSeqNr
-
unconfirmed
-
addMessageSent
-
confirmed
public DurableProducerQueue.State<A> confirmed(long seqNr, String confirmationQualifier, long timestampMillis) -
cleanup
public DurableProducerQueue.State<A> cleanup(scala.collection.immutable.Set<String> confirmationQualifiers) -
cleanupPartialChunkedMessages
If not all chunked messages were stored before crash those partial chunked messages should not be resent. -
copy
public <A> DurableProducerQueue.State<A> copy(long currentSeqNr, long highestConfirmedSeqNr, scala.collection.immutable.Map<String, scala.Tuple2<Object, Object>> confirmedSeqNr, scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>> unconfirmed) -
copy$default$1
public <A> long copy$default$1() -
copy$default$2
public <A> long copy$default$2() -
copy$default$3
-
copy$default$4
public <A> scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>> copy$default$4() -
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
-