public class ServiceLookupBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static long |
GRACE_PERIOD_MS |
static long |
LOOKUP_DELAY_MS |
static long |
WAIT_PERIOD_MS |
Constructor and Description |
---|
ServiceLookupBuilder(ServiceRegistry registry) |
Modifier and Type | Method and Description |
---|---|
ServiceLookupBuilder |
blocking() |
ServiceLookupBuilder |
blocking(long gracePeriodInMs,
long sleepTimeInMs,
java.util.function.Supplier<Long> upTimeSupplier) |
ServiceLookup |
build() |
public static final long GRACE_PERIOD_MS
public static final long WAIT_PERIOD_MS
public static final long LOOKUP_DELAY_MS
public ServiceLookupBuilder(ServiceRegistry registry)
public ServiceLookupBuilder blocking()
public ServiceLookupBuilder blocking(long gracePeriodInMs, long sleepTimeInMs, java.util.function.Supplier<Long> upTimeSupplier)
public ServiceLookup build()
Copyright © 2018. All rights reserved.