Package org.eclipse.jgit.util
Class FS.LockToken
java.lang.Object
org.eclipse.jgit.util.FS.LockToken
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- FS
A token representing a file created by
FS.createNewFileAtomic(File)
. The token must be retained until the
file has been deleted in order to guarantee that the unique file was
created atomically. As soon as the file is no longer needed the lock
token must be closed.- Since:
- 4.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
isCreated
private boolean isCreated -
link
-
-
Constructor Details
-
LockToken
-
-
Method Details