org.jboss.cache.eviction
Class NodeEntry
java.lang.Object
org.jboss.cache.eviction.NodeEntry
- public class NodeEntry
- extends java.lang.Object
Value object used in queue
- Author:
- Ben Wang 2-2004, Daniel Huang - dhuang@jboss.org
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NodeEntry
public NodeEntry(Fqn fqn)
NodeEntry
public NodeEntry(java.lang.String fqn)
getModifiedTimeStamp
public long getModifiedTimeStamp()
- Get modified time stamp. This stamp is created during the node is
processed so it has some fuzy tolerance in there.
- Returns:
- The last modified time stamp
setModifiedTimeStamp
public void setModifiedTimeStamp(long modifiedTimeStamp)
getCreationTimeStamp
public long getCreationTimeStamp()
- Get the time stamp for when the node entry was created.
- Returns:
- The node entry creation time stamp
setCreationTimeStamp
public void setCreationTimeStamp(long creationTimeStamp)
getNumberOfNodeVisits
public int getNumberOfNodeVisits()
setNumberOfNodeVisits
public void setNumberOfNodeVisits(int numberOfNodeVisits)
getFqn
public Fqn getFqn()
hashCode
public int hashCode()
equals
public boolean equals(java.lang.Object o)
toString
public java.lang.String toString()
Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.