Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * {@link Runnable}s that close them submitted to each one's closing {@link Executor}.
       */
      @VisibleForTesting
      CountDownLatch whenClosedCountDown() {
        return closeables.whenClosedCountDown();
      }
    
      /** The state of a {@link CloseableList}. */
      enum State {
        /** The {@link CloseableList} has not been subsumed or closed. */
        OPEN,
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * {@link Runnable}s that close them submitted to each one's closing {@link Executor}.
       */
      @VisibleForTesting
      CountDownLatch whenClosedCountDown() {
        return closeables.whenClosedCountDown();
      }
    
      /** The state of a {@link CloseableList}. */
      enum State {
        /** The {@link CloseableList} has not been subsumed or closed. */
        OPEN,
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      /** Waits for the given step's closeables to be closed. */
      void waitUntilClosed(ClosingFuture<?> closingFuture) {
        assertTrue(awaitUninterruptibly(closingFuture.whenClosedCountDown(), 1, SECONDS));
      }
    
      void assertThatFutureFailsWithException(Future<?> future) {
        try {
          getUninterruptibly(future);
          fail("Expected future to fail: " + future);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
Back to top