Uses of Interface
org.onehippo.cms7.services.lock.LockResource
-
Uses of LockResource in org.onehippo.cms7.services.lock
Modifier and TypeMethodDescriptionTries to create aLock
forkey
.static LockResource
LockManagerUtils.waitForLock
(LockManager lockManager, String key, long waitInterval) Utility method to create and if needed wait indefinitely (unless interrupted) for aLockManager.lock(String)
.static LockResource
LockManagerUtils.waitForLock
(LockManager lockManager, String key, long waitInterval, long maxWait) Utility method to create and if needed wait for a maximum amount of time (unless interrupted) for aLockManager.lock(String)
*