|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LockManager
| Method Summary | |
|---|---|
String |
getLocation()
Technical description of where the lock is located, such as a URL. |
boolean |
isLocked()
Determines if the SAIL is locked. |
Lock |
lockOrFail()
Creates a lock in a SAIL if it does not yet exist. |
boolean |
revokeLock()
Revokes a lock owned by another process. |
Lock |
tryLock()
Creates a lock in a SAIL if it does not yet exist. |
| Method Detail |
|---|
String getLocation()
boolean isLocked()
true if the SAIL is already locked.Lock tryLock()
Lock lockOrFail()
throws SailLockedException
SailLockedException - if the directory is already locked.boolean revokeLock()
true if a lock was successfully revoked.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||