public class StateUpdateMessage extends ClusterMessage
Used to send low priority file state update notifications to the cluster.
AllNodes
Constructor and Description |
---|
StateUpdateMessage()
Default constructor
|
StateUpdateMessage(java.lang.String targetNode,
ClusterNode fromNode,
ClusterFileState clState,
int updateMask)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
long |
getAllocationSize()
Return the file allocation size
|
long |
getChangeDateTime()
Return the change date/time
|
long |
getFileSize()
Return the file size
|
int |
getFileStatus()
Return the file status
|
long |
getModificationDateTime()
Return the modification date/time
|
java.lang.String |
getPath()
Return the path
|
long |
getRetentionDateTime()
Return the retention expiry date/time
|
int |
getStatusChangeReason()
Return the file status change reason code
|
int |
getUpdateMask()
Return the update mask
|
boolean |
hasUpdate(int upd)
Check if the spceified value has an update
|
java.lang.String |
toString()
Return the state update message as a string
|
getFromNode, getTargetNode, hasFromNode, isAllNodes, isFromLocalNode, isType
public StateUpdateMessage()
public StateUpdateMessage(java.lang.String targetNode, ClusterNode fromNode, ClusterFileState clState, int updateMask)
targetNode
- StringfromNode
- ClusterNodeclState
- ClusterFileStateupdateMask
- intpublic boolean hasUpdate(int upd)
upd
- intpublic final int getUpdateMask()
public final java.lang.String getPath()
public final int getFileStatus()
public final int getStatusChangeReason()
public final long getFileSize()
public final long getAllocationSize()
public final long getChangeDateTime()
public final long getModificationDateTime()
public final long getRetentionDateTime()
public java.lang.String toString()
toString
in class ClusterMessage
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.