|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.cache.ObjectCacheUnlimitedImpl
Global ObjectCache
implementation.
Field Summary | |
protected static java.util.Map |
objectTable
the hashtable holding all cached object |
Constructor Summary | |
ObjectCacheUnlimitedImpl(PersistenceBroker broker,
java.util.Properties prop)
public Default Constructor |
Method Summary | |
void |
cache(Identity oid,
java.lang.Object obj)
Makes object persistent to the Objectcache |
void |
clear()
Clear ObjectCache. |
java.lang.Object |
lookup(Identity oid)
Lookup object with Identity oid in objectTable. |
void |
remove(Identity oid)
Removes an Object from the cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static java.util.Map objectTable
Constructor Detail |
public ObjectCacheUnlimitedImpl(PersistenceBroker broker, java.util.Properties prop)
Method Detail |
public void clear()
clear
in interface ObjectCache
public void cache(Identity oid, java.lang.Object obj)
cache
in interface ObjectCache
public java.lang.Object lookup(Identity oid)
lookup
in interface ObjectCache
public void remove(Identity oid)
remove
in interface ObjectCache
oid
- Identity of the object to be removed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |