Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for runWithTimeout (0.61 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        timeLimiter.runWithTimeout(Runnables.doNothing(), DELAY_MS, MILLISECONDS);
      }
    
      public void testRunWithTimeout_wrapsUncheckedException() throws Exception {
        RuntimeException exception = new RuntimeException("test");
        UncheckedExecutionException e =
            assertThrows(
                UncheckedExecutionException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        timeLimiter.runWithTimeout(Runnables.doNothing(), DELAY_MS, MILLISECONDS);
      }
    
      public void testRunWithTimeout_wrapsUncheckedException() throws Exception {
        RuntimeException exception = new RuntimeException("test");
        UncheckedExecutionException e =
            assertThrows(
                UncheckedExecutionException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

          throw e;
        } catch (ExecutionException e) {
          wrapAndThrowExecutionExceptionOrError(e.getCause());
          throw new AssertionError();
        }
      }
    
      @Override
      public void runWithTimeout(Runnable runnable, long timeoutDuration, TimeUnit timeoutUnit)
          throws TimeoutException, InterruptedException {
        checkNotNull(runnable);
        checkNotNull(timeoutUnit);
        checkPositiveTimeout(timeoutDuration);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top