Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for afterRanInterruptiblyFailure (0.08 sec)

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

          afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
        } else {
          afterRanInterruptiblyFailure(error);
        }
      }
    
      abstract boolean isDone();
    
      abstract T runInterruptibly() throws Exception;
    
      abstract void afterRanInterruptiblySuccess(T result);
    
      abstract void afterRanInterruptiblyFailure(Throwable error);
    
      final void interruptTask() {}
    
      abstract String toPendingString();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            if (error == null) {
              // The cast is safe because of the `run` and `error` checks.
              afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
            } else {
              afterRanInterruptiblyFailure(error);
            }
          }
        }
      }
    
      @SuppressWarnings({
        "Interruption", // We are restoring an interrupt on this thread.
        "ThreadPriorityCheck", // TODO: b/175898629 - Consider onSpinWait.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

              }
    
              @Override
              void afterRanInterruptiblySuccess(String result) {
                taskResult.set(result);
              }
    
              @Override
              void afterRanInterruptiblyFailure(Throwable error) {
                taskResult.setException(error);
              }
            };
        Thread runner = new Thread(task);
        runner.start();
        isInterruptibleRegistered.await();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top