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 assoziated file.
FileLock
FileChannel.lock(long position, long size, boolean shared)
Creates a file lock for a region of the assoziated file.
FileLock
Tries to aqquire alock on the whole assoziated file.
FileLock
FileChannel.tryLock(long position, long size, boolean shared)
Tries to aqquire a lock on a region of the assoziated file.