-
- All Implemented Interfaces:
-
java.util.concurrent.Delayed,kotlin.Comparable
public final class DnsLookupTask extends DelayedTask
-
-
Field Summary
Fields Modifier and Type Field Description private LongnextDelayprivate Longlatencyprivate LongmaxTimeoutprivate final RetryScheduleretryScheduleprivate Longtimestamp
-
Constructor Summary
Constructors Constructor Description DnsLookupTask(RetrySchedule retrySchedule, URI uri, Long timestamp)
-
Method Summary
Modifier and Type Method Description final LonggetNextDelay()final UnitsetNextDelay(Long nextDelay)final LonggetLatency()final UnitsetLatency(Long latency)final LonggetMaxTimeout()final UnitsetMaxTimeout(Long maxTimeout)final RetrySchedulegetRetrySchedule()final LonggetTimestamp()final UnitsetTimestamp(Long timestamp)final List<InetAddressTask>resolve()StringtoString()-
-
Constructor Detail
-
DnsLookupTask
DnsLookupTask(RetrySchedule retrySchedule, URI uri, Long timestamp)
-
-
Method Detail
-
getNextDelay
final Long getNextDelay()
-
setNextDelay
final Unit setNextDelay(Long nextDelay)
-
getLatency
final Long getLatency()
-
setLatency
final Unit setLatency(Long latency)
-
getMaxTimeout
final Long getMaxTimeout()
-
setMaxTimeout
final Unit setMaxTimeout(Long maxTimeout)
-
getRetrySchedule
final RetrySchedule getRetrySchedule()
-
getTimestamp
final Long getTimestamp()
-
setTimestamp
final Unit setTimestamp(Long timestamp)
-
resolve
final List<InetAddressTask> resolve()
-
-
-
-