Class ServiceKey.Listing$

  • Enclosing class:

    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

      Constructor Description
    • Constructor Detail

      • Listing$

        public Listing$()