|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ivy.plugins.lock.FileBasedLockStrategy.NIOFileLocker
public static class FileBasedLockStrategy.NIOFileLocker
Locks a file using the FileLock mechanism.
| Constructor Summary | |
|---|---|
FileBasedLockStrategy.NIOFileLocker(boolean debugLocking)
|
|
| Method Summary | |
|---|---|
boolean |
tryLock(java.io.File file)
|
void |
unlock(java.io.File file)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileBasedLockStrategy.NIOFileLocker(boolean debugLocking)
| Method Detail |
|---|
public boolean tryLock(java.io.File file)
tryLock in interface FileBasedLockStrategy.FileLockerpublic void unlock(java.io.File file)
unlock in interface FileBasedLockStrategy.FileLocker
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||