Class AggregateServiceDiscovery


  • public final class AggregateServiceDiscovery
    extends ServiceDiscovery
    INTERNAL API
    • Constructor Detail

    • Method Detail

      • lookup

        public scala.concurrent.Future<ServiceDiscovery.Resolved> lookup​(Lookup lookup,
                                                                         scala.concurrent.duration.FiniteDuration resolveTimeout)
        Each discovery method is given the resolveTimeout rather than reducing it each time between methods.
        Specified by:
        lookup in class ServiceDiscovery
        Parameters:
        lookup - A service discovery lookup.
        resolveTimeout - Timeout. Up to the discovery-method to adhere to his
        Returns:
        Resolved future should be failed with a [DiscoveryTimeoutException] if the resolveTimeout is exceeded.