Uses of Class
okio.Timeout
-
Uses of Timeout in okio
Modifier and TypeClassDescriptionclass
This timeout uses a background thread to take action exactly when the timeout occurs.class
ATimeout
which forwards calls to another.Modifier and TypeFieldDescriptionstatic final Timeout
Timeout.NONE
An empty timeout that neither tracks nor detects timeouts.Modifier and TypeMethodDescriptionForwardingTimeout.clearDeadline()
Timeout.clearDeadline()
Clears the deadline.ForwardingTimeout.clearTimeout()
Timeout.clearTimeout()
Clears the timeout.final Timeout
Set a deadline of now plusduration
time.ForwardingTimeout.deadlineNanoTime
(long deadlineNanoTime) Timeout.deadlineNanoTime
(long deadlineNanoTime) Sets the nano time when the deadline will be reached.final Timeout
ForwardingTimeout.delegate()
Timeout
instance to which this instance is currently delegating.Buffer.timeout()
DeflaterSink.timeout()
ForwardingSink.timeout()
ForwardingSource.timeout()
GzipSink.timeout()
GzipSource.timeout()
InflaterSource.timeout()
Sink.timeout()
Returns the timeout for this sink.Source.timeout()
Returns the timeout for this source.Wait at mosttimeout
time before aborting an operation.Modifier and TypeMethodDescriptionfinal ForwardingTimeout
ForwardingTimeout.setDelegate
(Timeout delegate)