Package akka.actor.typed.delivery
Class DurableProducerQueue.State<A>
- java.lang.Object
-
- akka.actor.typed.delivery.DurableProducerQueue.State<A>
-
- All Implemented Interfaces:
DeliverySerializable
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- DurableProducerQueue
public static final class DurableProducerQueue.State<A> extends java.lang.Object implements DeliverySerializable, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description State(long currentSeqNr, long highestConfirmedSeqNr, scala.collection.immutable.Map<java.lang.String,scala.Tuple2<java.lang.Object,java.lang.Object>> confirmedSeqNr, scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>> unconfirmed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurableProducerQueue.State<A>
addMessageSent(DurableProducerQueue.MessageSent<A> sent)
boolean
canEqual(java.lang.Object x$1)
DurableProducerQueue.State<A>
cleanup(scala.collection.immutable.Set<java.lang.String> confirmationQualifiers)
DurableProducerQueue.State<A>
cleanupPartialChunkedMessages()
If not all chunked messages were stored before crash those partial chunked messages should not be resent.DurableProducerQueue.State<A>
confirmed(long seqNr, java.lang.String confirmationQualifier, long timestampMillis)
scala.collection.immutable.Map<java.lang.String,scala.Tuple2<java.lang.Object,java.lang.Object>>
confirmedSeqNr()
<A> DurableProducerQueue.State<A>
copy(long currentSeqNr, long highestConfirmedSeqNr, scala.collection.immutable.Map<java.lang.String,scala.Tuple2<java.lang.Object,java.lang.Object>> confirmedSeqNr, scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>> unconfirmed)
<A> long
copy$default$1()
<A> long
copy$default$2()
<A> scala.collection.immutable.Map<java.lang.String,scala.Tuple2<java.lang.Object,java.lang.Object>>
copy$default$3()
<A> scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>>
copy$default$4()
long
currentSeqNr()
boolean
equals(java.lang.Object x$1)
int
hashCode()
long
highestConfirmedSeqNr()
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.IndexedSeq<DurableProducerQueue.MessageSent<A>>
unconfirmed()
-
-
-
Constructor Detail
-
State
public State(long currentSeqNr, long highestConfirmedSeqNr, scala.collection.immutable.Map<java.lang.String,scala.Tuple2<java.lang.Object,java.lang.Object>> confirmedSeqNr, scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>> unconfirmed)
-
-
Method Detail
-
currentSeqNr
public long currentSeqNr()
-
highestConfirmedSeqNr
public long highestConfirmedSeqNr()
-
confirmedSeqNr
public scala.collection.immutable.Map<java.lang.String,scala.Tuple2<java.lang.Object,java.lang.Object>> confirmedSeqNr()
-
unconfirmed
public scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>> unconfirmed()
-
addMessageSent
public DurableProducerQueue.State<A> addMessageSent(DurableProducerQueue.MessageSent<A> sent)
-
confirmed
public DurableProducerQueue.State<A> confirmed(long seqNr, java.lang.String confirmationQualifier, long timestampMillis)
-
cleanup
public DurableProducerQueue.State<A> cleanup(scala.collection.immutable.Set<java.lang.String> confirmationQualifiers)
-
cleanupPartialChunkedMessages
public DurableProducerQueue.State<A> 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<java.lang.String,scala.Tuple2<java.lang.Object,java.lang.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
public <A> scala.collection.immutable.Map<java.lang.String,scala.Tuple2<java.lang.Object,java.lang.Object>> copy$default$3()
-
copy$default$4
public <A> scala.collection.immutable.IndexedSeq<DurableProducerQueue.MessageSent<A>> copy$default$4()
-
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
-
-