Uses of Class
okio.Timeout
-
Uses of Timeout in okio
Modifier and TypeClassDescriptionclassThis timeout uses a background thread to take action exactly when the timeout occurs.classATimeoutwhich forwards calls to another.Modifier and TypeFieldDescriptionstatic final TimeoutTimeout.NONEAn 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 TimeoutSet a deadline of now plusdurationtime.ForwardingTimeout.deadlineNanoTime(long deadlineNanoTime) Timeout.deadlineNanoTime(long deadlineNanoTime) Sets the nano time when the deadline will be reached.final TimeoutForwardingTimeout.delegate()Timeoutinstance 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 mosttimeouttime before aborting an operation.Modifier and TypeMethodDescriptionfinal ForwardingTimeoutForwardingTimeout.setDelegate(Timeout delegate)