Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for whenClosedCountDown (0.2 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top