- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for timeoutMillis (0.06 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
void assertFutureTimesOut(Future<?> future) { assertFutureTimesOut(future, timeoutMillis()); } /** Checks that future.get times out, with the given millisecond timeout. */ void assertFutureTimesOut(Future<?> future, long timeoutMillis) { long startTime = System.nanoTime(); try { future.get(timeoutMillis, MILLISECONDS);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 37.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/timer/TimeoutManager.java
/** * Interrupts the thread and waits for it to terminate. * * @param timeoutMillis * The time to wait (in milliseconds) * @return <code>true</code> if the thread has terminated * @throws InterruptedException * If interrupted while waiting */ public boolean stop(final long timeoutMillis) throws InterruptedException { final Thread t = this.thread;Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
* @param timeoutMillis timeout before attempting to close open circuit */ public SimpleCircuitBreaker(String name, int failureThreshold, int successThreshold, long timeoutMillis) { this.name = name; this.failureThreshold = failureThreshold; this.successThreshold = successThreshold; this.timeoutMillis = timeoutMillis; if (failureThreshold < 1) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
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;Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
* @author Justin T. Sampson */ @NullUnmarked public final class TestThread<L> extends Thread implements TearDown { private static final long DUE_DILIGENCE_MILLIS = 100; private static final long TIMEOUT_MILLIS = 5000; private final L lockLikeObject; private final SynchronousQueue<Request> requestQueue = new SynchronousQueue<>(); private final SynchronousQueue<Response> responseQueue = new SynchronousQueue<>();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
* @author Justin T. Sampson */ @NullUnmarked public final class TestThread<L> extends Thread implements TearDown { private static final long DUE_DILIGENCE_MILLIS = 100; private static final long TIMEOUT_MILLIS = 5000; private final L lockLikeObject; private final SynchronousQueue<Request> requestQueue = new SynchronousQueue<>(); private final SynchronousQueue<Response> responseQueue = new SynchronousQueue<>();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 11.4K bytes - Click Count (0)