Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isInterruptible (0.16 sec)

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

        } else {
          assertTrue(desc, isBoolean(method));
        }
    
        switch (method.getExceptionTypes().length) {
          case 0:
            assertFalse(desc, isInterruptible(method));
            break;
          case 1:
            assertTrue(desc, isInterruptible(method));
            break;
          default:
            fail(desc);
        }
    
        if (isEnterIf(method)) {
          assertTrue(desc, isGuarded(method));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        } else {
          assertTrue(desc, isBoolean(method));
        }
    
        switch (method.getExceptionTypes().length) {
          case 0:
            assertFalse(desc, isInterruptible(method));
            break;
          case 1:
            assertTrue(desc, isInterruptible(method));
            break;
          default:
            fail(desc);
        }
    
        if (isEnterIf(method)) {
          assertTrue(desc, isGuarded(method));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

             * interrupting thread. In theory, interruptTask() should be very fast, but due to
             * InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't
             * predictable what work might be done. (e.g., close a file and flush buffers to disk). To
             * protect ourselves from this, we park ourselves and tell our interrupter that we did so.
             */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.Lock;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Utilities for treating interruptible operations as uninterruptible. In all cases, if a thread is
     * interrupted during such a call, the call continues to block until the result is available or the
     * timeout elapses, and only then re-interrupts the thread.
     *
    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)
Back to top