public class ClusterFileLock extends FileLock implements Serializable
LockWholeFile
Constructor and Description |
---|
ClusterFileLock()
Default constructor
|
ClusterFileLock(ClusterNode ownerNode,
long offset,
long len,
int pid)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getOwnerNode()
Return the owner node address
|
String |
toString()
Return the lock details as a string
|
getLength, getOffset, getProcessId, hasOverlap, hasOverlap, isWholeFile, setLength, setOffset, setProcessId
public ClusterFileLock()
public ClusterFileLock(ClusterNode ownerNode, long offset, long len, int pid)
ownerNode
- ClusterNodeoffset
- longlen
- longpid
- intCopyright © 2005–2017 Alfresco Software. All rights reserved.