## 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

    Methods in org.apache.hc.core5.pool that return Deadline
    Modifier and Type | Method and Description
    --- | ---
    `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 and Description
    --- | ---
    `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 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".

    Methods in org.apache.hc.core5.util with parameters of type Deadline
    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–2020 The Apache Software Foundation. All rights reserved.