Package akka.actor.typed.delivery
Class DurableProducerQueue.MessageSent<A>
- java.lang.Object
-
- akka.actor.typed.delivery.DurableProducerQueue.MessageSent<A>
-
- All Implemented Interfaces:
DurableProducerQueue.Event
,DeliverySerializable
- Enclosing class:
- DurableProducerQueue
public static final class DurableProducerQueue.MessageSent<A> extends java.lang.Object implements DurableProducerQueue.Event
The fact (event) that a message has been sent.
-
-
Constructor Summary
Constructors Constructor Description MessageSent(long seqNr, java.lang.Object message, boolean ack, java.lang.String confirmationQualifier, long timestampMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
ack()
java.lang.String
confirmationQualifier()
boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.Object
message()
long
seqNr()
long
timestampMillis()
java.lang.String
toString()
DurableProducerQueue.MessageSent<A>
withConfirmationQualifier(java.lang.String qualifier)
DurableProducerQueue.MessageSent<A>
withTimestampMillis(long timestamp)
-
-
-
Method Detail
-
seqNr
public long seqNr()
-
message
public java.lang.Object message()
-
ack
public boolean ack()
-
confirmationQualifier
public java.lang.String confirmationQualifier()
-
timestampMillis
public long timestampMillis()
-
withConfirmationQualifier
public DurableProducerQueue.MessageSent<A> withConfirmationQualifier(java.lang.String qualifier)
-
withTimestampMillis
public DurableProducerQueue.MessageSent<A> withTimestampMillis(long timestamp)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-