@Override
    public boolean tryLock()
    {
        ReentrantLock lock = lookupLockForAcquire(key);
        return lock.tryLock();
    }
Keep track of the locks that are currently being used.
xmppserver/src/main/java/org/jivesoftware/util/cache/lock/LocalLock.java