Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for afterRanInterruptiblySuccess (0.36 seconds)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

          // The cast is safe because of the `run` and `error` checks.
          afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
        } else {
          afterRanInterruptiblyFailure(error);
        }
      }
    
      abstract boolean isDone();
    
      abstract T runInterruptibly() throws Exception;
    
      abstract void afterRanInterruptiblySuccess(T result);
    
      abstract void afterRanInterruptiblyFailure(Throwable error);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

        }
    
        @Override
        @ParametricNullness
        V runInterruptibly() throws Exception {
          return callable.call();
        }
    
        @Override
        void afterRanInterruptiblySuccess(@ParametricNullness V result) {
          TrustedListenableFutureTask.this.set(result);
        }
    
        @Override
        void afterRanInterruptiblyFailure(Throwable error) {
          setException(error);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/CombinedFuture.java

          try {
            listenerExecutor.execute(this);
          } catch (RejectedExecutionException e) {
            CombinedFuture.this.setException(e);
          }
        }
    
        @Override
        final void afterRanInterruptiblySuccess(@ParametricNullness T result) {
          /*
           * The future no longer needs to interrupt this task, so it no longer needs a reference to it.
           *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

              boolean isDone() {
                return false;
              }
    
              @Override
              String toPendingString() {
                return "";
              }
    
              @Override
              void afterRanInterruptiblySuccess(String result) {
                taskResult.set(result);
              }
    
              @Override
              void afterRanInterruptiblyFailure(Throwable error) {
                taskResult.setException(error);
              }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

              boolean isDone() {
                return false;
              }
    
              @Override
              String toPendingString() {
                return "";
              }
    
              @Override
              void afterRanInterruptiblySuccess(String result) {
                taskResult.set(result);
              }
    
              @Override
              void afterRanInterruptiblyFailure(Throwable error) {
                taskResult.setException(error);
              }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            waitForInterrupt(currentThread);
          }
          if (run) {
            if (error == null) {
              // The cast is safe because of the `run` and `error` checks.
              afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
            } else {
              afterRanInterruptiblyFailure(error);
            }
          }
        }
      }
    
      @SuppressWarnings({
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 10K bytes
    - Click Count (0)
Back to Top