Lines Matching refs:tryLock
1007 * @see #tryLock()
1008 * @see #tryLock(long,long,boolean)
1048 * @see #tryLock()
1049 * @see #tryLock(long,long,boolean)
1073 * {@link #tryLock()} method simply locks a region of size {@link
1119 * @see #tryLock()
1121 public abstract FileLock tryLock(long position, long size, boolean shared)
1127 * <p> An invocation of this method of the form <tt>fc.tryLock()</tt>
1131 * fc.{@link #tryLock(long,long,boolean) tryLock}(0L, Long.MAX_VALUE, false) </pre>
1151 * @see #tryLock(long,long,boolean)
1153 public final FileLock tryLock() throws IOException {
1154 return tryLock(0L, Long.MAX_VALUE, false);