Uses of Class java.nio.channels.FileLock

Uses in package java.nio.channels

Methods with return type java.nio.channels.FileLock

FileLock
Creates a file lock for the whole associated file.
FileLock
FileChannel.lock(long position, long size, boolean shared)
Creates a file lock for a region of the associated file.
FileLock
Tries to aqquire alock on the whole associated file.
FileLock
FileChannel.tryLock(long position, long size, boolean shared)
Tries to aqquire a lock on a region of the associated file.