Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for CANCELLED (0.06 seconds)

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

        boolean cancel(boolean mayInterruptIfRunning) {
          logger.get().log(FINER, "cancelling {0}", closingFutureToString());
          boolean cancelled = future.cancel(mayInterruptIfRunning);
          if (cancelled) {
            close();
          }
          return cancelled;
        }
    
        void closeIfLeaked() {
          if (status.get().equals(OPEN)) {
            logger
                .get()
                .log(
    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. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Setting the future still works since cancellation didn't propagate
        assertTrue(future2.set(2L));
        // Second check to ensure the input future was not cancelled
        assertEquals((Long) 2L, getDone(future2));
    
        // All futures are now complete; outstanding inputs are cancelled
        assertTrue(future3.isCancelled());
        assertTrue(future3.wasInterrupted());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Setting the future still works since cancellation didn't propagate
        assertTrue(future2.set(2L));
        // Second check to ensure the input future was not cancelled
        assertEquals((Long) 2L, getDone(future2));
    
        // All futures are now complete; outstanding inputs are cancelled
        assertTrue(future3.isCancelled());
        assertTrue(future3.wasInterrupted());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top