Class KeyAwareAutoCloseableLock


  • public final class KeyAwareAutoCloseableLock
    extends java.lang.Object
    A simple abstraction over ReentrantLock that can be used when we need to be dealing with a dictionary of lockable objects wherein we traditionally would have used the synchronized keyword.