|
|||||||||
| Home >> All >> java >> nio >> [ channels overview ] | PREV NEXT | ||||||||
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. |
|
|||||||||
| Home >> All >> java >> nio >> [ channels overview ] | PREV NEXT | ||||||||