larksuite-oapi/src/main/java/com/larksuite/oapi/okio1_17/Timeout.java
public void throwIfReached() throws IOException {
    if (Thread.interrupted()) {
      Thread.currentThread().interrupt(); // Retain interrupted status.
      throw new InterruptedIOException("interrupted");
    }

    if (hasDeadline && deadlineNanoTime - System.nanoTime() <= 0) {
      throw new InterruptedIOException("deadline reached");
    }
  }
/**
   * Throws an {@link InterruptedIOException} if the deadline has been reached or if the current
   * thread has been interrupted. This method doesn't detect timeouts; that should be implemented to
   * asynchronously abort an in-progress operation.
   */
Throws an  InterruptedIOException if the deadline has been reached or if the current
thread has been interrupted. This method doesn't detect timeouts; that should be implemented to
asynchronously abort an in-progress operation.
Throws an InterruptedIOException if the deadline has been reached or if the current thread has been interrupted . This method doesn ' t detect timeouts ; that should be implemented to asynchronously abort an in - progress operation .
public void throwIfReached() throws IOException {
    if (Thread.interrupted()) {
      Thread.currentThread().interrupt(); 
      throw new InterruptedIOException("interrupted");
    }
    if (hasDeadline && deadlineNanoTime - System.nanoTime() <= 0) {
      throw new InterruptedIOException("deadline reached");
    }
  }
public void throwIfReached ( ) throws IOException { if ( Thread . interrupted ( ) ) { Thread . currentThread ( ) . interrupt ( ) ; throw new InterruptedIOException ( "interrupted" ) ; } if ( hasDeadline && deadlineNanoTime - System . nanoTime ( ) <= 0 ) { throw new InterruptedIOException ( "deadline reached" ) ; } }
Throws an {@link InterruptedIOException} if the deadline has been reached or if the current
 thread has been interrupted.
Throws an { @link InterruptedIOException } if the deadline has been reached or if the current thread has been interrupted .
// Retain interrupted status.