Uses of Class
org.apache.hc.core5.util.Deadline
-
Packages that use Deadline Package Description org.apache.hc.core5.pool Client side connection pool component APIs.org.apache.hc.core5.util Core utility classes. -
-
Uses of Deadline in org.apache.hc.core5.pool
Fields in org.apache.hc.core5.pool declared as Deadline Modifier and Type Field Description private Deadline
LaxConnPool.LeaseRequest. deadline
private Deadline
StrictConnPool.LeaseRequest. deadline
private Deadline
PoolEntry. expiryDeadline
private Deadline
PoolEntry. validityDeadline
Methods in org.apache.hc.core5.pool that return Deadline Modifier and Type Method Description Deadline
LaxConnPool.LeaseRequest. getDeadline()
Deadline
StrictConnPool.LeaseRequest. getDeadline()
Deadline
PoolEntry. getExpiryDeadline()
Deadline
PoolEntry. getValidityDeadline()
-
Uses of Deadline in org.apache.hc.core5.util
Fields in org.apache.hc.core5.util declared as Deadline Modifier and Type Field Description private Deadline
DeadlineTimeoutException. deadline
static Deadline
Deadline. MAX_VALUE
The maximum (longest-lived) deadline.static Deadline
Deadline. MIN_VALUE
The minimum (shortest-lived) deadline.Methods in org.apache.hc.core5.util that return Deadline Modifier and Type Method Description static Deadline
Deadline. calculate(long timeMillis, TimeValue timeValue)
Calculates a deadline with a given time in milliseconds plus a given time value.static Deadline
Deadline. calculate(TimeValue timeValue)
Calculates a deadline from now plus a given time value.Deadline
Deadline. freeze()
static Deadline
Deadline. fromUnixMilliseconds(long value)
Creates a deadline from a UNIX time in milliseconds.Deadline
DeadlineTimeoutException. getDeadline()
The expected deadline for this timeout since the start of UNIX time.Deadline
Deadline. min(Deadline other)
Returns the smaller of this and anotherDeadline
.static Deadline
Deadline. parse(java.lang.String source)
Creates a deadline from a string in the format "yyyy-MM-dd\'T\'HH:mm:ss.SSSZ".Methods in org.apache.hc.core5.util with parameters of type Deadline Modifier and Type Method Description static DeadlineTimeoutException
DeadlineTimeoutException. from(Deadline deadline)
Creates a new exception for the given timeout deadline and actual timeout.Deadline
Deadline. min(Deadline other)
Returns the smaller of this and anotherDeadline
.Constructors in org.apache.hc.core5.util with parameters of type Deadline Constructor Description DeadlineTimeoutException(Deadline deadline)
Creates a new exception for the given timeout deadline and actual timeout.
-