-
- All Implemented Interfaces:
-
java.util.concurrent.Delayed,kotlin.Comparable
public final class InetAddressTask extends DelayedTask
-
-
Field Summary
Fields Modifier and Type Field Description private final URIuriprivate final InetAddressinetAddressprivate LongnextDelayprivate Longlatencyprivate LongmaxTimeoutprivate final RetryScheduleretryScheduleprivate Longtimestamp
-
Constructor Summary
Constructors Constructor Description InetAddressTask(RetrySchedule retrySchedule, URI uri, InetAddress inetAddress, Long timestamp)
-
Method Summary
Modifier and Type Method Description final URIgetUri()final InetAddressgetInetAddress()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)StringtoString()-
-
Constructor Detail
-
InetAddressTask
InetAddressTask(RetrySchedule retrySchedule, URI uri, InetAddress inetAddress, Long timestamp)
-
-
Method Detail
-
getInetAddress
final InetAddress getInetAddress()
-
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)
-
-
-
-