Lines Matching refs:subtreeLock
121 private final Lock subtreeLock;
125 private DNLock(final DNLockHolder lock, final Lock subtreeLock, final Lock entryLock)
128 this.subtreeLock = subtreeLock;
151 subtreeLock.unlock();
173 private final ReentrantReadWriteLock subtreeLock = new ReentrantReadWriteLock();
196 lock.subtreeLock.readLock().unlock();
202 return tryLock(subtreeLock.readLock(), entryLock.readLock());
207 return tryLock(subtreeLock.readLock(), entryLock.writeLock());
212 return tryLock(subtreeLock.writeLock(), entryLock.writeLock());
232 if (tryLockWithTimeout(parent.subtreeLock.readLock()))
242 private DNLock tryLock(final Lock subtreeLock, final Lock entryLock)
246 if (tryLockWithTimeout(subtreeLock))
250 return new DNLock(this, subtreeLock, entryLock);
252 subtreeLock.unlock();