Package akka.actor.typed.delivery
Class ConsumerController.Delivery<A>
- java.lang.Object
-
- akka.actor.typed.delivery.ConsumerController.Delivery<A>
-
- Enclosing class:
- ConsumerController
public static final class ConsumerController.Delivery<A> extends java.lang.ObjectReceived messages from the producer are wrapped inDeliverywhen sent to the consumer. When the message has been processed the consumer is supposed to sendConsumerController.Confirmedback to theConsumerControllervia theconfirmTo.
-
-
Constructor Summary
Constructors Constructor Description Delivery(A message, ActorRef<ConsumerController.Confirmed> confirmTo, java.lang.String producerId, long seqNr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorRef<ConsumerController.Confirmed>confirmTo()Amessage()java.lang.StringproducerId()longseqNr()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Delivery
public Delivery(A message, ActorRef<ConsumerController.Confirmed> confirmTo, java.lang.String producerId, long seqNr)
-
-
Method Detail
-
message
public A message()
-
confirmTo
public ActorRef<ConsumerController.Confirmed> confirmTo()
-
producerId
public java.lang.String producerId()
-
seqNr
public long seqNr()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-