Package akka.discovery
Class ServiceDiscovery.DiscoveryTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- akka.discovery.ServiceDiscovery.DiscoveryTimeoutException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ServiceDiscovery
public static final class ServiceDiscovery.DiscoveryTimeoutException extends java.lang.RuntimeExceptionFuture 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DiscoveryTimeoutException(java.lang.String reason)
-