Class ConsumerController.RegisterToProducerController<A>
java.lang.Object
org.apache.pekko.actor.typed.delivery.ConsumerController.RegisterToProducerController<A>
- All Implemented Interfaces:
Serializable,ConsumerController.Command<A>,ConsumerControllerImpl.InternalCommand,ConsumerControllerImpl.UnsealedInternalCommand,scala.Equals,scala.Product
- Enclosing class:
- ConsumerController
public static final class ConsumerController.RegisterToProducerController<A>
extends Object
implements ConsumerController.Command<A>, scala.Product, Serializable
Register the
ConsumerController to the given producerController. It will
retry the registration until the ProducerController has acknowledged by sending its
first message.
Alternatively, this registration can be done on the producer side with the
ProducerController.RegisterConsumer message.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRegisterToProducerController(ActorRef<ProducerController.Command<A>> producerController) -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(ActorRef<ProducerController.Command<A>> producerController) <A> ActorRef<ProducerController.Command<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
-
RegisterToProducerController
-
-
Method Details
-
producerController
-
copy
public <A> ConsumerController.RegisterToProducerController<A> copy(ActorRef<ProducerController.Command<A>> producerController) -
copy$default$1
-
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
-