Uses of Class
org.apache.hc.core5.util.Deadline
Packages that use Deadline
Package
Description
Client side connection pool component APIs.
Core utility classes.
-
Uses of Deadline in org.apache.hc.core5.pool
Fields in org.apache.hc.core5.pool declared as DeadlineModifier and TypeFieldDescriptionprivate final Deadline
LaxConnPool.LeaseRequest.deadline
private final Deadline
StrictConnPool.LeaseRequest.deadline
private Deadline
PoolEntry.expiryDeadline
private Deadline
PoolEntry.validityDeadline
Methods in org.apache.hc.core5.pool that return DeadlineModifier and TypeMethodDescriptionLaxConnPool.LeaseRequest.getDeadline()
StrictConnPool.LeaseRequest.getDeadline()
PoolEntry.getExpiryDeadline()
PoolEntry.getValidityDeadline()
-
Uses of Deadline in org.apache.hc.core5.util
Fields in org.apache.hc.core5.util declared as DeadlineModifier and TypeFieldDescriptionprivate final 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 DeadlineModifier and TypeMethodDescriptionstatic Deadline
Calculates a deadline with a given time in milliseconds plus a given time value.static Deadline
Calculates a deadline from now plus a given time value.Deadline.freeze()
static Deadline
Deadline.fromUnixMilliseconds
(long value) Creates a deadline from a UNIX time in milliseconds.DeadlineTimeoutException.getDeadline()
The expected deadline for this timeout since the start of UNIX time.Returns the smaller of this and anotherDeadline
.static Deadline
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 DeadlineModifier and TypeMethodDescriptionstatic DeadlineTimeoutException
Creates a new exception for the given timeout deadline and actual timeout.Returns the smaller of this and anotherDeadline
.Constructors in org.apache.hc.core5.util with parameters of type DeadlineModifierConstructorDescriptionprivate
DeadlineTimeoutException
(Deadline deadline) Creates a new exception for the given timeout deadline and actual timeout.