public class NIOFileLock extends FileLock
Extends the base file lock class to hold the NIO file lock object.
LockWholeFile| Constructor and Description |
|---|
NIOFileLock(long offset,
long len,
int pid)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.channels.FileLock |
getNIOLock()
Get the NIO lock
|
void |
setNIOLock(java.nio.channels.FileLock lock)
Set the NIO lock
|
getLength, getOffset, getProcessId, hasOverlap, hasOverlap, isWholeFile, setLength, setOffset, setProcessId, toStringCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.