|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.services.util.cache.ObjectCacheEHCacheImpl
public class ObjectCacheEHCacheImpl
This has been adapted to use EHCache
Implementation configuration properties:
Property Key | Property Values |
- | - |
Constructor Summary | |
---|---|
ObjectCacheEHCacheImpl(org.apache.ojb.broker.PersistenceBroker broker,
java.util.Properties props)
Constructor for the MetaObjectCachePerClassImpl object |
|
ObjectCacheEHCacheImpl(java.lang.String name)
Constructor used by the ObjectCacheEHCachePerClassImpl |
Method Summary | |
---|---|
void |
cache(org.apache.ojb.broker.Identity oid,
java.lang.Object obj)
makes object obj persistent to the Objectcache under the key oid. |
void |
clear()
clear the ObjectCache. |
java.lang.String |
getRegionName()
|
java.lang.Object |
lookup(org.apache.ojb.broker.Identity oid)
Lookup object with Identity oid in objectTable. |
void |
remove(org.apache.ojb.broker.Identity oid)
removes an Object from the cache. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObjectCacheEHCacheImpl(org.apache.ojb.broker.PersistenceBroker broker, java.util.Properties props)
public ObjectCacheEHCacheImpl(java.lang.String name)
ObjectCacheEHCachePerClassImpl
Method Detail |
---|
public java.lang.String getRegionName()
public void cache(org.apache.ojb.broker.Identity oid, java.lang.Object obj)
cache
in interface org.apache.ojb.broker.cache.ObjectCache
public java.lang.Object lookup(org.apache.ojb.broker.Identity oid)
lookup
in interface org.apache.ojb.broker.cache.ObjectCache
public void remove(org.apache.ojb.broker.Identity oid)
remove
in interface org.apache.ojb.broker.cache.ObjectCache
oid
- the Identity of the object to be removed.public void clear()
clear
in interface org.apache.ojb.broker.cache.ObjectCache
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |