|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FileLockManager
A LockManager holding external locks, locking files between OS processes (e.g. via FileLockManager.Lock.
| Nested Class Summary | |
|---|---|
static interface |
FileLockManager.Lock
This lock object adds the ability to directly access the contents of the locked file. |
| Method Summary | |
|---|---|
FileLockManager.Lock |
readLock(File target)
Obtain a lock object that may be used to lock the target file for reading. |
FileLockManager.Lock |
writeLock(File target)
Obtain a lock object that may be used to lock the target file for writing. |
| Method Detail |
|---|
FileLockManager.Lock readLock(File target)
FileLockManager.Lock.lock()).
target - the file to lock, never null.
null.FileLockManager.Lock writeLock(File target)
FileLockManager.Lock.lock()).
target - the file to lock, never null.
null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||