Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for interruptTask (0.06 sec)

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

      /**
       * Any interruption that happens as a result of calling interruptTask will arrive before this
       * method is called. Complete Futures here.
       */
      abstract void afterRanInterruptiblySuccess(@ParametricNullness T result);
    
      /**
       * Any interruption that happens as a result of calling interruptTask will arrive before this
       * method is called. Complete Futures here.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

      }
    
      @Override
      protected void afterDone() {
        super.afterDone();
    
        if (wasInterrupted()) {
          InterruptibleTask<?> localTask = task;
          if (localTask != null) {
            localTask.interruptTask();
          }
        }
    
        this.task = null;
      }
    
      @Override
      protected @Nullable String pendingToString() {
        InterruptibleTask<?> localTask = task;
        if (localTask != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        }
      }
    
      private static final class InterruptibleFuture extends AbstractFuture<String> {
        boolean interruptTaskWasCalled;
    
        @Override
        protected void interruptTask() {
          assertFalse(interruptTaskWasCalled);
          interruptTaskWasCalled = true;
        }
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        }
      }
    
      private static final class InterruptibleFuture extends AbstractFuture<String> {
        boolean interruptTaskWasCalled;
    
        @Override
        protected void interruptTask() {
          assertFalse(interruptTaskWasCalled);
          interruptTaskWasCalled = true;
        }
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top