Package org.uberfire.java.nio.fs.jgit
Class FileSystemLock
- java.lang.Object
-
- org.uberfire.java.nio.fs.jgit.FileSystemLock
-
- Direct Known Subclasses:
JGitFileSystemLock
public class FileSystemLock extends Object
File system Lock. To instantiate a new Lock useFileSystemLockManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFileSystemLock(File directory, String lockName, TimeUnit lastAccessTimeUnit, long lastAccessThreshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetLockName()booleanhasBeenInUse()voidlock()voidunlock()
-