public class OpLockMessage extends ClusterMessage
Contains the details of an oplock break request or notification of an oplock break completing.
AllNodes| Constructor and Description |
|---|
OpLockMessage()
Default constructor
|
OpLockMessage(java.lang.String targetNode,
int msgType,
java.lang.String path)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPath()
Return the normalized path of the oplocked file/folder
|
java.lang.String |
toString()
Return the oplock message as a string
|
getFromNode, getTargetNode, hasFromNode, isAllNodes, isFromLocalNode, isTypepublic OpLockMessage()
public OpLockMessage(java.lang.String targetNode,
int msgType,
java.lang.String path)
targetNode - StringmsgType - intpath - Stringpublic final java.lang.String getPath()
public java.lang.String toString()
toString in class ClusterMessageCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.