Package org.apache.ivy.plugins.lock
Class FileBasedLockStrategy.NIOFileLocker
java.lang.Object
org.apache.ivy.plugins.lock.FileBasedLockStrategy.NIOFileLocker
- All Implemented Interfaces:
FileBasedLockStrategy.FileLocker
- Enclosing class:
FileBasedLockStrategy
public static class FileBasedLockStrategy.NIOFileLocker
extends Object
implements FileBasedLockStrategy.FileLocker
Locks a file using the
FileLock
mechanism.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NIOFileLocker
public NIOFileLocker(boolean debugLocking)
-
-
Method Details
-
tryLock
- Specified by:
tryLock
in interfaceFileBasedLockStrategy.FileLocker
-
unlock
- Specified by:
unlock
in interfaceFileBasedLockStrategy.FileLocker
-