Uses of Interface
org.onehippo.cms7.services.lock.LockResource
-
Packages that use LockResource Package Description org.onehippo.cms7.services.lock -
-
Uses of LockResource in org.onehippo.cms7.services.lock
Methods in org.onehippo.cms7.services.lock that return LockResource Modifier and Type Method Description LockResource
LockManager. lock(String key)
Tries 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)
*
-