@API(type=EXTENDABLE, src=PUBLIC) public abstract class LockHandlerBase extends java.lang.Object implements LockHandler
Constructor and Description |
---|
LockHandlerBase() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isLockEnabled()
Checks if locking is enabled.
|
abstract boolean |
isSaveAllowed(java.net.URL url,
int timeoutSeconds)
Checks if save is allowed for a resource identified by its URL.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
unlock, updateLock
public abstract boolean isLockEnabled()
true
if locking is enabledpublic abstract boolean isSaveAllowed(java.net.URL url, int timeoutSeconds)
url
- The URL for which the check is performed.timeoutSeconds
- The timeout in seconds to set for the lock .true
if saving is allowed.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.