|
Oxygen XML Editor, Version ${standalone-version-number} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LockHandler
Manage locking and unlocking.
Method Summary | |
---|---|
void |
unlock(URL resource)
Unlock a specific resource |
void |
updateLock(URL resource,
int timeoutSeconds)
Lock a specific resource if it has never been locked before or refresh the lock. |
Method Detail |
---|
void unlock(URL resource) throws LockException
resource
- The URL to unlock
LockException
- When could not unlock properly.void updateLock(URL resource, int timeoutSeconds) throws LockException
resource
- The URL to lock.timeoutSeconds
- The timeout in seconds to set for the lock
(so that the lock expires after the timeout passes).
The refresh on the lock is called about every (timeout/2) seconds.
LockException
- When could not lock properly.
|
Oxygen XML Editor, Version ${standalone-version-number} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |