Interface LockFactory

    • Method Detail

      • getLock

        Lock getLock​(String name)
        Deprecated.
        Get a lock -- getting the lock does *not* imply that it has been acquired. Call Lock.tryLock() or Lock.lock() on the returned object to acquire the lock.