Package | Description |
---|---|
okio |
Okio complements
java.io and java.nio to make it much easier to access, store,
and process your data. |
Modifier and Type | Field and Description |
---|---|
(package private) static AsyncTimeout |
AsyncTimeout.head
The watchdog thread processes a linked list of pending timeouts, sorted in the order to be
triggered.
|
private AsyncTimeout |
AsyncTimeout.next
The next node in the linked list.
|
Modifier and Type | Method and Description |
---|---|
(package private) static AsyncTimeout |
AsyncTimeout.awaitTimeout()
Removes and returns the node at the head of the list, waiting for it to time out if necessary.
|
private static AsyncTimeout |
Okio.timeout(java.net.Socket socket) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
AsyncTimeout.cancelScheduledTimeout(AsyncTimeout node)
Returns true if the timeout occurred.
|
private static void |
AsyncTimeout.scheduleTimeout(AsyncTimeout node,
long timeoutNanos,
boolean hasDeadline) |