Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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