private void releaseLock(CacheKey key) {
        ReentrantLock lock = lookupLockForRelease(key);
        lock.unlock();
    }
Keep track of the locks that are currently being used.
xmppserver/src/main/java/org/jivesoftware/util/cache/lock/LocalLock.java