Uses of Class
okio.Timeout
-
-
Uses of Timeout in okio
Subclasses of Timeout in okio Modifier and Type Class Description class
AsyncTimeout
This timeout uses a background thread to take action exactly when the timeout occurs.class
ForwardingTimeout
ATimeout
which forwards calls to another.Fields in okio declared as Timeout Modifier and Type Field Description static Timeout
Timeout. NONE
An empty timeout that neither tracks nor detects timeouts.Methods in okio that return Timeout Modifier and Type Method 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 plusduration
time.Timeout
ForwardingTimeout. deadlineNanoTime(long deadlineNanoTime)
Timeout
Timeout. deadlineNanoTime(long deadlineNanoTime)
Sets the nano time when the deadline will be reached.Timeout
ForwardingTimeout. delegate()
Timeout
instance to which this instance is currently delegating.Timeout
Buffer. timeout()
Timeout
DeflaterSink. timeout()
Timeout
ForwardingSink. timeout()
Timeout
ForwardingSource. timeout()
Timeout
ForwardingTimeout. timeout(long timeout, TimeUnit unit)
Timeout
GzipSink. timeout()
Timeout
GzipSource. timeout()
Timeout
InflaterSource. timeout()
Timeout
Sink. timeout()
Returns the timeout for this sink.Timeout
Source. timeout()
Returns the timeout for this source.Timeout
Timeout. timeout(long timeout, TimeUnit unit)
Wait at mosttimeout
time before aborting an operation.Methods in okio with parameters of type Timeout Modifier and Type Method Description ForwardingTimeout
ForwardingTimeout. setDelegate(Timeout delegate)
Constructors in okio with parameters of type Timeout Constructor Description ForwardingTimeout(Timeout delegate)
-