Interface Receptionist.Registered
- All Known Implementing Classes:
ReceptionistMessages.Registered
- Enclosing class:
- Receptionist
public static interface Receptionist.Registered
Confirmation that the given
pekko.actor.typed.ActorRef has been associated with the ServiceKey.
You can use key.Registered for type-safe pattern matching.
Not for user extension
-
Method Summary
Modifier and TypeMethodDescriptionServiceKey<?>getKey()Java API<T> ActorRef<T>getServiceInstance(ServiceKey<T> key) Java APIbooleanisForKey(ServiceKey<?> key) ServiceKey<?>key()Scala API<T> ActorRef<T>serviceInstance(ServiceKey<T> key) Scala API
-
Method Details
-
isForKey
-
key
ServiceKey<?> key()Scala API -
getKey
ServiceKey<?> getKey()Java API -
serviceInstance
Scala APIAlso, see
ServiceKey.Listingfor more convenient pattern matching -
getServiceInstance
Java API
-