Searched refs:tryAcquireNanos (Results 1 – 6 of 6) sorted by relevance
413 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
1087 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
1219 public final boolean tryAcquireNanos(int arg, long nanosTimeout) in tryAcquireNanos() method in AbstractQueuedSynchronizer
989 public final boolean tryAcquireNanos(long arg, long nanosTimeout) in tryAcquireNanos() method in AbstractQueuedLongSynchronizer
46 public boolean tryAcquireNanos(long nanos) throws InterruptedException { in tryAcquireNanos() method in AbstractQueuedLongSynchronizerTest.Mutex47 return tryAcquireNanos(LOCKED, nanos); in tryAcquireNanos()492 sync.tryAcquireNanos(MILLISECONDS.toNanos(2 * LONG_DELAY_MS)); in testTryAcquireNanos_Interruptible()525 assertFalse(sync.tryAcquireNanos(nanos)); in testAcquireNanos_Timeout()
50 public boolean tryAcquireNanos(long nanos) throws InterruptedException { in tryAcquireNanos() method in AbstractQueuedSynchronizerTest.Mutex51 return tryAcquireNanos(LOCKED, nanos); in tryAcquireNanos()495 sync.tryAcquireNanos(MILLISECONDS.toNanos(2 * LONG_DELAY_MS)); in testTryAcquireNanos_Interruptible()528 assertFalse(sync.tryAcquireNanos(nanos)); in testAcquireNanos_Timeout()