org.xith3d.utility.cache
Class CacheNode<T>
java.lang.Object
org.xith3d.utility.cache.CacheNode<T>
public class CacheNode<T>
- extends java.lang.Object
Class used to store information on the cached item. Since this
cached node itself has memory usage, only heavyweight items should
themselves be cached.
|
Field Summary |
protected T |
o
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
o
protected T o
CacheNode
public CacheNode(T o)
getTimeCreated
public long getTimeCreated()
getTimeLastAccessed
public long getTimeLastAccessed()
getNumUsers
public int getNumUsers()
setNumUsers
public void setNumUsers(int numUsers)
setO
public void setO(T o)
getO
public T getO()
setTimeCreated
public void setTimeCreated(long timeCreated)
setTimeLastAccessed
public void setTimeLastAccessed(long timeLastAccessed)
getNumRequested
public int getNumRequested()
setNumRequested
public void setNumRequested(int numRequested)