public class ClusterFileOpenCount
extends java.lang.Object
Keeps track of the file open count for a remote node
Constructor and Description |
---|
ClusterFileOpenCount(ClusterNode node,
int count)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
ClusterFileOpenCount |
getLink()
Return the linked file open count object
|
ClusterNode |
getNode()
Return the cluster node
|
int |
getOpenCount()
Return the remote file open count
|
boolean |
hasLink()
Check if there is a linked file open count object
|
void |
setLink(ClusterFileOpenCount clusterCount)
Set, or clear, the linked file open count object
|
void |
setOpenCount(int count)
Set the file open count
|
java.lang.String |
toString()
Return the cluster file open count details as a string
|
public ClusterFileOpenCount(ClusterNode node, int count)
node
- ClusterNodecount
- intpublic final ClusterNode getNode()
public final int getOpenCount()
public final boolean hasLink()
public final ClusterFileOpenCount getLink()
public final void setOpenCount(int count)
count
- intpublic final void setLink(ClusterFileOpenCount clusterCount)
clusterCount
- ClusterFileOpenCountpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.