Class Receptionist.Subscribe$
java.lang.Object
org.apache.pekko.actor.typed.receptionist.Receptionist.Subscribe$
- Enclosing class:
- Receptionist
Subscribe message. The given actor will subscribe to service updates when this command is sent to
the Receptionist.ref. When the set of instances registered for the given key changes
the subscriber will be sent a Receptionist.Listing with the new set of instances for that service.
The subscription will be acknowledged by sending out a first Receptionist.Listing. The subscription automatically ends
with the termination of the subscriber.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Receptionist.Subscribe$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ServiceKey<T> key, ActorRef<Receptionist.Listing> subscriber) Scala API:
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Subscribe$
public Subscribe$()
-
-
Method Details
-
apply
Scala API:
-