Package | Description |
---|---|
org.onehippo.cms7.services.lock |
Modifier and Type | Class and Description |
---|---|
class |
AlreadyLockedException |
class |
LockManagerException |
Modifier and Type | Method and Description |
---|---|
LockResource |
LockManager.lock(String key)
Tries to create a
Lock for key . |
static LockResource |
LockManagerUtils.waitForLock(LockManager lockManager,
String key,
long waitInterval)
Utility method to create and if needed wait indefinitely (unless interrupted) for a
LockManager.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 a
LockManager.lock(String) * |
Copyright © 2012–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.