Class ServiceKey.Listing$
java.lang.Object
org.apache.pekko.actor.typed.receptionist.ServiceKey.Listing$
- Enclosing class:
- ServiceKey<T>
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 -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
Listing$
public Listing$()
-
-
Method Details
-
unapply
-