Class WorkPullingProducerController.RequestNext<A>
java.lang.Object
org.apache.pekko.actor.typed.delivery.WorkPullingProducerController.RequestNext<A>
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- Enclosing class:
- WorkPullingProducerController
public static final class WorkPullingProducerController.RequestNext<A>
extends Object
implements scala.Product, Serializable
The
WorkPullingProducerController 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(ActorRef<A> sendNextTo, ActorRef<WorkPullingProducerController.MessageWithConfirmation<A>> askNextTo) -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(ActorRef<A> sendNextTo, ActorRef<WorkPullingProducerController.MessageWithConfirmation<A>> askNextTo) <A> ActorRef<A>booleaninthashCode()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
public RequestNext(ActorRef<A> sendNextTo, ActorRef<WorkPullingProducerController.MessageWithConfirmation<A>> askNextTo)
-
-
Method Details
-
sendNextTo
-
askNextTo
-
copy
public <A> WorkPullingProducerController.RequestNext<A> copy(ActorRef<A> sendNextTo, ActorRef<WorkPullingProducerController.MessageWithConfirmation<A>> askNextTo) -
copy$default$1
-
copy$default$2
-
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
-