| Package | Description | 
|---|---|
| okio | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AsyncTimeoutThis timeout uses a background thread to take action exactly when the timeout occurs. | 
| class  | ForwardingTimeoutA  Timeoutwhich forwards calls to another. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Timeout | Timeout. NONEAn empty timeout that neither tracks nor detects timeouts. | 
| Modifier and Type | Method and Description | 
|---|---|
| Timeout | ForwardingTimeout. clearDeadline() | 
| Timeout | Timeout. clearDeadline()Clears the deadline. | 
| Timeout | ForwardingTimeout. clearTimeout() | 
| Timeout | Timeout. clearTimeout()Clears the timeout. | 
| Timeout | Timeout. deadline(long duration,
        TimeUnit unit)Set a deadline of now plus  durationtime. | 
| Timeout | ForwardingTimeout. deadlineNanoTime(long deadlineNanoTime) | 
| Timeout | Timeout. deadlineNanoTime(long deadlineNanoTime)Sets the nano time when the deadline will be
 reached. | 
| Timeout | ForwardingTimeout. delegate()Timeoutinstance to which this instance is currently delegating. | 
| Timeout | ForwardingSink. timeout() | 
| Timeout | ForwardingSource. timeout() | 
| Timeout | Buffer. timeout() | 
| Timeout | Sink. timeout()Returns the timeout for this sink. | 
| Timeout | InflaterSource. timeout() | 
| Timeout | GzipSink. timeout() | 
| Timeout | Source. timeout()Returns the timeout for this source. | 
| Timeout | GzipSource. timeout() | 
| Timeout | DeflaterSink. timeout() | 
| Timeout | ForwardingTimeout. timeout(long timeout,
       TimeUnit unit) | 
| Timeout | Timeout. timeout(long timeout,
       TimeUnit unit)Wait at most  timeouttime before aborting an operation. | 
| Modifier and Type | Method and Description | 
|---|---|
| ForwardingTimeout | ForwardingTimeout. setDelegate(Timeout delegate) | 
| Constructor and Description | 
|---|
| ForwardingTimeout(Timeout delegate) | 
Copyright © 2017. All rights reserved.