Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Uses of Class
java.nio.channels.FileLock

Uses of FileLock in java.nio.channels
 

Methods in java.nio.channels that return FileLock
 FileLock FileChannel.lock()
          Creates a file lock for the whole associated file.
abstract  FileLock FileChannel.lock(long position, long size, boolean shared)
          Creates a file lock for a region of the associated file.
 FileLock FileChannel.tryLock()
          Tries to aqquire alock on the whole associated file.
abstract  FileLock FileChannel.tryLock(long position, long size, boolean shared)
          Tries to aqquire a lock on a region of the associated file.