Home
last modified time | relevance | path

Searched defs:tryLock (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLock.java263 boolean tryLock(); in tryLock() method
323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock() method
DReentrantLock.java373 public boolean tryLock() { in tryLock() method in ReentrantLock
449 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantLock
DReentrantReadWriteLock.java800 public boolean tryLock() { in tryLock() method in ReentrantReadWriteLock.ReadLock
871 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantReadWriteLock.ReadLock
1037 public boolean tryLock() { in tryLock() method in ReentrantReadWriteLock.WriteLock
1120 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantReadWriteLock.WriteLock
DStampedLock.java884 public boolean tryLock() { return tryReadLock() != 0L; } in tryLock() method in StampedLock.ReadLockView
885 public boolean tryLock(long time, TimeUnit unit) in tryLock() method in StampedLock.ReadLockView
900 public boolean tryLock() { return tryWriteLock() != 0L; } in tryLock() method in StampedLock.WriteLockView
901 public boolean tryLock(long time, TimeUnit unit) in tryLock() method in StampedLock.WriteLockView
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java59 public boolean tryLock() { in tryLock() method in ReentrantLock
63 public boolean tryLock(long timeout, java.util.concurrent.TimeUnit unit) in tryLock() method in ReentrantLock
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousFileChannel.java606 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock() method in AsynchronousFileChannel
639 public final FileLock tryLock() throws IOException { in tryLock() method in AsynchronousFileChannel
DFileChannel.java1122 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock() method in FileChannel
1154 public final FileLock tryLock() throws IOException { in tryLock() method in FileChannel
/libcore/ojluni/src/main/java/sun/nio/ch/
DSimpleAsynchronousFileChannelImpl.java243 public FileLock tryLock(long position, long size, boolean shared) in tryLock() method in SimpleAsynchronousFileChannelImpl
DFileChannelImpl.java1164 public FileLock tryLock(long position, long size, boolean shared) in tryLock() method in FileChannelImpl
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java480 public boolean tryLock() { in tryLock() method in ThreadPoolExecutor.Worker
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java668 public boolean tryLock() { return tryAcquire(1); } in tryLock() method in ThreadPoolExecutor.Worker
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileChannelTest.java3187 public FileLock tryLock(long position, long size, boolean shared) in tryLock() method in FileChannelTest.MockFileChannel