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 Details

    • isForKey

      boolean isForKey(ServiceKey<?> key)
    • key

      ServiceKey<?> key()
      Scala API
    • getKey

      ServiceKey<?> getKey()
      Java API
    • serviceInstance

      <T> ActorRef<T> serviceInstance(ServiceKey<T> key)
      Scala API

      Also, see ServiceKey.Listing for more convenient pattern matching

    • getServiceInstance

      <T> ActorRef<T> getServiceInstance(ServiceKey<T> key)
      Java API