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 |
|---|---|
FileLock |
getNIOLock()
Get the NIO lock
|
void |
setNIOLock(FileLock lock)
Set the NIO lock
|
getLength, getOffset, getProcessId, hasOverlap, hasOverlap, isWholeFile, setLength, setOffset, setProcessId, toStringCopyright © 2005–2015 Alfresco Software. All rights reserved.