Lines Matching defs:tryLock
68 * Also note that the untimed {@link #tryLock() tryLock} method does not
129 * Performs non-fair tryLock. tryAcquire is
350 * fair ordering policy, a call to {@code tryLock()} <em>will</em>
356 * {@link #tryLock(long, TimeUnit) tryLock(0, TimeUnit.SECONDS) }
369 public boolean tryLock() {
382 * are waiting for the lock. This is in contrast to the {@link #tryLock()}
383 * method. If you want a timed {@code tryLock} that does permit barging on
386 * <pre>if (lock.tryLock() || lock.tryLock(timeout, unit) ) { ... }
443 public boolean tryLock(long timeout, TimeUnit unit)