Package org.h2.store.fs.retry
Class FileRetryOnInterrupt.FileLockRetry
- java.lang.Object
-
- java.nio.channels.FileLock
-
- org.h2.store.fs.retry.FileRetryOnInterrupt.FileLockRetry
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- FileRetryOnInterrupt
static class FileRetryOnInterrupt.FileLockRetry extends java.nio.channels.FileLock
A wrapped file lock.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.nio.channels.FileLock
base
The base lock.
-
Constructor Summary
Constructors Modifier Constructor Description protected
FileLockRetry(java.nio.channels.FileLock base, java.nio.channels.FileChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid()
void
release()
-