Package akka.actor.typed.receptionist
Class ServiceKey.Listing$
- java.lang.Object
-
- akka.actor.typed.receptionist.ServiceKey.Listing$
-
- Enclosing class:
- ServiceKey<T>
public class ServiceKey.Listing$ extends java.lang.Object
Scala API: Provides a type safe pattern match for listings.Using it for pattern match like this will return the reachable service instances:
case MyServiceKey.Listing(reachable) =>
In a non-clustered
ActorSystem
this will always be all registered instances for a service key. For a clustered environment services on nodes that have been observed unreachable are not among these (note that they could have become unreachable between this message being sent and the receiving actor processing it).
-
-
Constructor Summary
Constructors Constructor Description Listing$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Option<scala.collection.immutable.Set<ActorRef<T>>>
unapply(Receptionist.Listing l)
-
-
-
Method Detail
-
unapply
public scala.Option<scala.collection.immutable.Set<ActorRef<T>>> unapply(Receptionist.Listing l)
-
-