|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.perseus.cache.lib.BasicReplaceableCacheEntry
This class is a simple implementation of the ReplaceableCacheEntry interface.
Constructor Summary | |
protected |
BasicReplaceableCacheEntry(java.lang.Object id)
|
|
BasicReplaceableCacheEntry(java.lang.Object id,
java.lang.Object o)
|
Method Summary | |
void |
fixCe()
Marks this entry as used. |
long |
getCeAge()
|
int |
getCeFixCount()
|
java.lang.Object |
getCeIdentifier()
Returns the object identifier associated to the object in the cache entry. |
java.lang.Object |
getCeObject()
Gives access to the object within the cache entry. |
void |
setCeAge(long age)
It assignes a logical age to the entry. |
void |
unfixCe()
Marks this entry as used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected BasicReplaceableCacheEntry(java.lang.Object id)
public BasicReplaceableCacheEntry(java.lang.Object id, java.lang.Object o)
Method Detail |
public java.lang.Object getCeObject()
CacheEntry
getCeObject
in interface CacheEntry
public java.lang.Object getCeIdentifier()
CacheEntry
getCeIdentifier
in interface CacheEntry
public void fixCe()
FixableCacheEntry
fixCe
in interface FixableCacheEntry
public void unfixCe() throws UnFixProtocolException
FixableCacheEntry
unfixCe
in interface FixableCacheEntry
UnFixProtocolException
public int getCeFixCount()
getCeFixCount
in interface FixableCacheEntry
public long getCeAge()
getCeAge
in interface ReplaceableCacheEntry
public void setCeAge(long age)
ReplaceableCacheEntry
setCeAge
in interface ReplaceableCacheEntry
age
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |