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 Detail

      • isForKey

        boolean isForKey​(ServiceKey<?> key)
      • serviceInstance

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

        Also, see ServiceKey.Listing for more convenient pattern matching