public class Awaits extends Timeout
| Constructor and Description |
|---|
Awaits() |
| Modifier and Type | Method and Description |
|---|---|
void |
enter() |
boolean |
exit() |
protected IOException |
newTimeoutException(IOException cause) |
Sink |
sink(Sink sink) |
Source |
source(Source source) |
protected void |
timedOut() |
clearDeadline, clearTimeout, deadline, deadlineNanoTime, deadlineNanoTime, hasDeadline, throwIfReached, timeout, timeoutNanos, waitUntilNotifiedpublic final void enter()
public final boolean exit()
protected void timedOut()
protected IOException newTimeoutException(IOException cause)
Copyright © 2019. All rights reserved.