Searched refs:tryAcquireNanos (Results 1 – 6 of 6) sorted by relevance
451 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
1122 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
800 public final boolean tryAcquireNanos(long arg, long nanosTimeout) in tryAcquireNanos() method in AbstractQueuedLongSynchronizer
85 public boolean tryAcquireNanos(long nanos) throws InterruptedException { in tryAcquireNanos() method in AbstractQueuedLongSynchronizerTest.Mutex86 return tryAcquireNanos(LOCKED, nanos); in tryAcquireNanos()546 sync.tryAcquireNanos(MILLISECONDS.toNanos(2 * LONG_DELAY_MS)); in testTryAcquireNanos_Interruptible()579 assertFalse(sync.tryAcquireNanos(nanos)); in testAcquireNanos_Timeout()
89 public boolean tryAcquireNanos(long nanos) throws InterruptedException { in tryAcquireNanos() method in AbstractQueuedSynchronizerTest.Mutex90 return tryAcquireNanos(LOCKED, nanos); in tryAcquireNanos()549 sync.tryAcquireNanos(MILLISECONDS.toNanos(2 * LONG_DELAY_MS)); in testTryAcquireNanos_Interruptible()582 assertFalse(sync.tryAcquireNanos(nanos)); in testAcquireNanos_Timeout()
66 public boolean tryAcquireNanos(long nanos) throws InterruptedException { in tryAcquireNanos() method in AbstractQueuedSynchronizerTest.Mutex67 return tryAcquireNanos(LOCKED, nanos); in tryAcquireNanos()521 sync.tryAcquireNanos(MILLISECONDS.toNanos(2 * LONG_DELAY_MS)); in testTryAcquireNanos_Interruptible()554 assertFalse(sync.tryAcquireNanos(nanos)); in testAcquireNanos_Timeout()