Class ProducerController.RequestNext<A>
java.lang.Object
org.apache.pekko.actor.typed.delivery.ProducerController.RequestNext<A>
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- Enclosing class:
- ProducerController
public static final class ProducerController.RequestNext<A>
extends Object
implements scala.Product, Serializable
The
ProducerController sends RequestNext to the producer when it is allowed to send one
message via the sendNextTo or askNextTo. Note that only one message is allowed, and then
it must wait for next RequestNext before sending one more message.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRequestNext(String producerId, long currentSeqNr, long confirmedSeqNr, ActorRef<A> sendNextTo, ActorRef<ProducerController.MessageWithConfirmation<A>> askNextTo) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongcopy(String producerId, long currentSeqNr, long confirmedSeqNr, ActorRef<A> sendNextTo, ActorRef<ProducerController.MessageWithConfirmation<A>> askNextTo) <A> String<A> long<A> long<A> ActorRef<A>longbooleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
RequestNext
-
-
Method Details
-
producerId
-
currentSeqNr
public long currentSeqNr() -
confirmedSeqNr
public long confirmedSeqNr() -
sendNextTo
-
askNextTo
-
copy
public <A> ProducerController.RequestNext<A> copy(String producerId, long currentSeqNr, long confirmedSeqNr, ActorRef<A> sendNextTo, ActorRef<ProducerController.MessageWithConfirmation<A>> askNextTo) -
copy$default$1
-
copy$default$2
public <A> long copy$default$2() -
copy$default$3
public <A> long copy$default$3() -
copy$default$4
-
copy$default$5
-
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
-