@API(type=EXTENDABLE, src=PUBLIC) public abstract class LockHandlerBase extends java.lang.Object implements LockHandler
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
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 - 2015. All rights reserved.