| Package | Description | 
|---|---|
| org.apache.hc.core5.pool | Client side connection pool component APIs. | 
| org.apache.hc.core5.util | Core utility classes. | 
| Modifier and Type | Method and Description | 
|---|---|
| Deadline | PoolEntry. getExpiryDeadline() | 
| Deadline | PoolEntry. getValidityDeadline() | 
| Modifier and Type | Field and Description | 
|---|---|
| static Deadline | Deadline. MAX_VALUEThe maximum (longest-lived) deadline. | 
| static Deadline | Deadline. MIN_VALUEThe minimum (shortest-lived) deadline. | 
| Modifier and Type | Method and 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 another  Deadline. | 
| static Deadline | Deadline. parse(String source)Creates a deadline from a string in the format "yyyy-MM-dd\'T\'HH:mm:ss.SSSZ". | 
| Modifier and Type | Method and 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 another  Deadline. | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.