Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getUninterruptibly (0.21 sec)

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

       * @throws CancellationException if the computation was cancelled
       */
      @CanIgnoreReturnValue
      @ParametricNullness
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
          throws ExecutionException {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              return future.get();
            } catch (InterruptedException e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Uninterruptibles.java

    @ElementTypesAreNonnullByDefault
    public final class Uninterruptibles {
    
      private Uninterruptibles() {}
    
      @CanIgnoreReturnValue
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
          throws ExecutionException {
        try {
          return future.get();
        } catch (InterruptedException e) {
          // Should never be thrown in GWT but play it safe
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.3K bytes
    - Viewed (0)
Back to top