Uses of Class java.nio.channels.FileLock

Uses in package gnu.java.nio

Classes derived from java.nio.channels.FileLock

class
A FileLock associated with a FileChannelImpl.

Methods with return type java.nio.channels.FileLock

FileLock
FileChannelImpl.lock(long position, long size, boolean shared)
FileLock
FileChannelImpl.tryLock(long position, long size, boolean shared)

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.

Uses in package gnu.java.nio.channels

Methods with return type java.nio.channels.FileLock

FileLock
FileChannelImpl.lock(long position, long size, boolean shared)
FileLock
FileChannelImpl.tryLock(long position, long size, boolean shared)