Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for timeoutExit (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

            }
          } else {
            check(toClose == null) // If we still have a connection we shouldn't be closing any sockets.
          }
        }
    
        val result = timeoutExit(e)
        if (e != null) {
          eventListener.callFailed(this, result!!)
        } else {
          eventListener.callEnd(this)
        }
        return result
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  2. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit, boolean amInterruptible)
          throws Exception {
        checkNotNull(callable);
        checkNotNull(timeoutUnit);
        checkPositiveTimeout(timeoutDuration);
    
        Future<T> future = executor.submit(callable);
    
        try {
          return amInterruptible
              ? future.get(timeoutDuration, timeoutUnit)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException {
        return callWithTimeout(callable, timeoutDuration, timeoutUnit);
      }
    
      @Override
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public void runWithTimeout(Runnable runnable, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(runnable);
        checkNotNull(timeoutUnit);
        try {
          runnable.run();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *
       * @param target the object to proxy
       * @param interfaceType the interface you wish the returned proxy to implement
       * @param timeoutDuration with timeoutUnit, the maximum length of time that callers are willing to
       *     wait on each method call to the proxy
       * @param timeoutUnit with timeoutDuration, the maximum length of time that callers are willing to
       *     wait on each method call to the proxy
       * @return a time-limiting proxy
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
Back to top