|
|||||||||||
| 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 CacheEntrypublic java.lang.Object getCeIdentifier()
CacheEntry
getCeIdentifier in interface CacheEntrypublic void fixCe()
FixableCacheEntry
fixCe in interface FixableCacheEntry
public void unfixCe()
throws UnFixProtocolException
FixableCacheEntry
unfixCe in interface FixableCacheEntryUnFixProtocolExceptionpublic int getCeFixCount()
getCeFixCount in interface FixableCacheEntrypublic long getCeAge()
getCeAge in interface ReplaceableCacheEntrypublic void setCeAge(long age)
ReplaceableCacheEntry
setCeAge in interface ReplaceableCacheEntryage -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||