Class ServiceDiscovery.DiscoveryTimeoutException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.pekko.discovery.ServiceDiscovery.DiscoveryTimeoutException
All Implemented Interfaces:
Serializable
Enclosing class:
ServiceDiscovery

public static final class ServiceDiscovery.DiscoveryTimeoutException extends RuntimeException
Future returned by resolve(name, timeout) should be failed with this exception if the underlying mechanism was unable to resolve the name within the given timeout.

It is up to each implementation to implement timeouts.

See Also:
  • Constructor Details

    • DiscoveryTimeoutException

      public DiscoveryTimeoutException(String reason)