Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for awaitTerminationUninterruptibly (0.22 sec)

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

        assertFalse(awaitTerminationUninterruptibly(executor, 1000, MILLISECONDS));
        assertFalse(executor.isTerminated());
        assertInterrupted();
      }
    
      public void testTryAwaitTerminationInfiniteTimeout() {
        ExecutorService executor = newFixedThreadPool(1);
        requestInterruptIn(500);
        executor.execute(new SleepTask(1000));
        executor.shutdown();
        awaitTerminationUninterruptibly(executor);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          throw new AssertionError("Unexpected exception", e);
        } finally {
          executor.shutdownNow();
          // TODO(cpovirk): assertTrue(awaitTerminationUninterruptibly(executor, 10, SECONDS));
        }
      }
    
      /**
       * For each possible pair of futures from {@link TestFutureBatch}, for each possible completion
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          throw new AssertionError("Unexpected exception", e);
        } finally {
          executor.shutdownNow();
          // TODO(cpovirk): assertTrue(awaitTerminationUninterruptibly(executor, 10, SECONDS));
        }
      }
    
      /**
       * For each possible pair of futures from {@link TestFutureBatch}, for each possible completion
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
Back to top