|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jso.cache.JSOObjectDataCache
Object caching management classes.
| Constructor Summary | |
JSOObjectDataCache(int cacheSize)
Constructs the cache. |
|
| Method Summary | |
ObjectData |
get(OID oid)
Gets an object's data in the cache. |
CacheInfo |
getCacheInfo()
Gets cache information. |
void |
invalidate()
Invalidates all cached data. |
void |
invalidate(java.lang.Class cls)
Invalidates all data of objects of a class. |
void |
invalidate(OID oid)
Invalidates an object's data. |
ObjectData |
put(ObjectData data)
Puts an object's data in the cache. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JSOObjectDataCache(int cacheSize)
cacheSize - Size of the cache.| Method Detail |
public ObjectData put(ObjectData data)
put in interface ObjectDataCachedata - Object's data.public ObjectData get(OID oid)
get in interface ObjectDataCacheoid - Object's identification.
null is returned.public void invalidate()
invalidate in interface ObjectDataCachepublic CacheInfo getCacheInfo()
getCacheInfo in interface ObjectDataCachepublic void invalidate(OID oid)
invalidate in interface ObjectDataCacheoid - Object's identification.public void invalidate(java.lang.Class cls)
invalidate in interface ObjectDataCachecls - The class of the objects.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||