Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for timeoutMillis (0.06 sec)

  1. okhttp/src/test/java/okhttp3/RecordingCallback.kt

            }
          }
          val nowMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime())
          if (nowMillis >= timeoutMillis) break
          (this as Object).wait(timeoutMillis - nowMillis)
        }
    
        throw AssertionError("Timed out waiting for response to $url")
      }
    
      companion object {
        val TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(10)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/timer/TimeoutTask.java

        private final TimeoutTarget timeoutTarget;
    
        private final long timeoutMillis;
    
        private final boolean permanent;
    
        private long startTime;
    
        private int status = ACTIVE;
    
        TimeoutTask(final TimeoutTarget timeoutTarget, final int timeout, final boolean permanent) {
            this.timeoutTarget = timeoutTarget;
            this.timeoutMillis = timeout * 1000L;
            this.permanent = permanent;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                }
            }
        }
    
        /**
         * スレッドに割り込みを行い、終了するまで待機します。
         *
         * @param timeoutMillis
         *            待機する時間(ミリ秒単位)
         * @return スレッドが終了した場合は<code>true</code>
         * @throws InterruptedException
         *             待機中に割り込まれた場合
         */
        public boolean stop(final long timeoutMillis) throws InterruptedException {
            final Thread t = this.thread;
            synchronized (this) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top