|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtools.cache.CachedObject
Cached Object Class
$Id: CachedObject.java,v 1.3 2002/08/07 16:51:09 stfndln Exp $
Field Summary | |
java.lang.Object |
getObject
The cached object |
java.lang.Object |
objIdentifier
Identifier of the object |
Constructor Summary | |
CachedObject(java.lang.Object p_value,
java.lang.Object p_id,
int p_livetime)
Creates a new cache object. |
Method Summary | |
java.lang.Object |
getIdentifier()
retrieve the identiefer of the cached object |
boolean |
isExpired()
chechs if the cached object has expired. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Object objIdentifier
public java.lang.Object getObject
Constructor Detail |
public CachedObject(java.lang.Object p_value, java.lang.Object p_id, int p_livetime)
p_value
- Object Value that needs to be cachedp_id
- Object Identiefier of the value cachedp_livetime
- int live time of the value in the cacheMethod Detail |
public boolean isExpired()
isExpired
in interface Cacheable
public java.lang.Object getIdentifier()
getIdentifier
in interface Cacheable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |