Class ShardingProducerController.MessageWithConfirmation<A>
java.lang.Object
org.apache.pekko.cluster.sharding.typed.delivery.ShardingProducerController.MessageWithConfirmation<A>
- All Implemented Interfaces:
Serializable,ShardingProducerControllerImpl.InternalCommand,ShardingProducerControllerImpl.UnsealedInternalCommand,scala.Equals,scala.Product
- Enclosing class:
- ShardingProducerController
public static final class ShardingProducerController.MessageWithConfirmation<A>
extends Object
implements ShardingProducerControllerImpl.UnsealedInternalCommand, scala.Product, Serializable
For sending confirmation message back to the producer when the message has been confirmed.
Typically used with
context.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.
If DurableProducerQueue is not used the confirmation reply is sent when the message has been
fully delivered, processed, and confirmed by the consumer.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<A> String<A> AentityId()booleaninthashCode()message()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>replyTo()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
MessageWithConfirmation
-
-
Method Details
-
entityId
-
message
-
replyTo
-
copy
public <A> ShardingProducerController.MessageWithConfirmation<A> copy(String entityId, A message, ActorRef<Done> replyTo) -
copy$default$1
-
copy$default$2
public <A> A copy$default$2() -
copy$default$3
-
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
-