Class ShardingProducerController.MessageWithConfirmation<A>
- java.lang.Object
-
- akka.cluster.sharding.typed.delivery.ShardingProducerController.MessageWithConfirmation<A>
-
- All Implemented Interfaces:
ShardingProducerControllerImpl.InternalCommand
,ShardingProducerControllerImpl.UnsealedInternalCommand
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- ShardingProducerController
public static final class ShardingProducerController.MessageWithConfirmation<A> extends java.lang.Object implements ShardingProducerControllerImpl.UnsealedInternalCommand, scala.Product, java.io.Serializable
For sending confirmation message back to the producer when the message has been confirmed. Typically used withcontext.ask
from the producer.If
DurableProducerQueue
is used the confirmation reply is sent when the message has been successfully stored, meaning that the actual delivery to the consumer may happen later. IfDurableProducerQueue
is not used the confirmation reply is sent when the message has been fully delivered, processed, and confirmed by the consumer.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageWithConfirmation(java.lang.String entityId, A message, ActorRef<Done> replyTo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
<A> ShardingProducerController.MessageWithConfirmation<A>
copy(java.lang.String entityId, A message, ActorRef<Done> replyTo)
<A> java.lang.String
copy$default$1()
<A> A
copy$default$2()
<A> ActorRef<Done>
copy$default$3()
java.lang.String
entityId()
boolean
equals(java.lang.Object x$1)
int
hashCode()
A
message()
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()
ActorRef<Done>
replyTo()
java.lang.String
toString()
-
-
-
Method Detail
-
entityId
public java.lang.String entityId()
-
message
public A message()
-
copy
public <A> ShardingProducerController.MessageWithConfirmation<A> copy(java.lang.String entityId, A message, ActorRef<Done> replyTo)
-
copy$default$1
public <A> java.lang.String copy$default$1()
-
copy$default$2
public <A> A 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
-
-