Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for afterRanInterruptiblyFailure (0.14 seconds)

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