Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for whenClosedCountDown (0.32 seconds)

  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() {
        try {
          return state.closeables.whenClosedCountDown();
        } finally {
          reachabilityFence(this);
        }
      }
    
      /** The status of a {@link CloseableList}. */
      enum Status {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  2. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
Back to Top