java.lang.Object | ||
↳ | java.nio.channels.FileLock | |
↳ | sun.nio.ch.FileLockImpl |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tells whether or not this lock is valid.
| |||||||||||
Releases this lock.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.nio.channels.FileLock
| |||||||||||||||||||||||||||||||||
From class
java.lang.Object
|
Tells whether or not this lock is valid.
A lock object remains valid until it is released or the associated file channel is closed, whichever comes first.
Releases this lock.
If this lock object is valid then invoking this method releases the lock and renders the object invalid. If this lock object is invalid then invoking this method has no effect.
IOException |
---|