public static class FileBasedLockStrategy.NIOFileLocker extends java.lang.Object implements FileBasedLockStrategy.FileLocker
FileLock mechanism.| Constructor and Description |
|---|
NIOFileLocker(boolean debugLocking) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
tryLock(java.io.File file) |
void |
unlock(java.io.File file) |
public boolean tryLock(java.io.File file)
tryLock in interface FileBasedLockStrategy.FileLockerpublic void unlock(java.io.File file)
unlock in interface FileBasedLockStrategy.FileLockerCopyright ©2007-2022 The Apache Software Foundation, Licensed under Apache License, Version 2.0.