Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for clearInterrupt (0.61 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

        } catch (ExecutionException e) {
          throw new AssertionError(e);
        }
      }
    
      static void verifyThreadWasNotInterrupted() {
        assertFalse(Thread.currentThread().isInterrupted());
      }
    
      static void clearInterrupt() {
        Thread.interrupted();
      }
    
      /**
       * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long,
       * TimeUnit)} overload in order to test that method.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

        }
      }
    
      static void verifyThreadWasNotInterrupted() {
        // There is no thread interruption in GWT, so there's nothing to do.
      }
    
      static void clearInterrupt() {
        // There is no thread interruption in GWT, so there's nothing to do.
      }
    
      static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future)
          throws ExecutionException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top