Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for afterDone (0.05 seconds)

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

          // so that the cleanup work is visible to listeners.
          // afterDone() should be generally fast and only used for cleanup work... but in theory can
          // also be recursive and create StackOverflowErrors
          future.afterDone();
          // push the current set of listeners onto next
          next = future.clearListeners(next);
          future = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      // this would be observable from an afterDone callback
      public void testListenersExecuteImmediately_fromAfterDone() {
        AbstractFuture<String> f =
            new AbstractFuture<String>() {
              @Override
              protected void afterDone() {
                AtomicBoolean ranImmediately = new AtomicBoolean();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      // this would be observable from an afterDone callback
      public void testListenersExecuteImmediately_fromAfterDone() {
        AbstractFuture<String> f =
            new AbstractFuture<String>() {
              @Override
              protected void afterDone() {
                AtomicBoolean ranImmediately = new AtomicBoolean();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

          if (localDelegate != null) {
            return "delegate=[" + localDelegate + "]";
          }
          return null;
        }
    
        @Override
        protected void afterDone() {
          delegate = null;
        }
      }
    
      /**
       * Creates a new {@code ListenableFuture} whose value is a list containing the values of all its
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
Back to Top