| java.lang.Object org.apache.ojb.broker.cache.ObjectCacheJCSImpl
ObjectCacheJCSImpl | public class ObjectCacheJCSImpl implements ObjectCache(Code) | | This local
ObjectCache implementation using
turbine-JCS to cache objects is primarily for intern use in
conjunction with
ObjectCacheJCSPerClassImpl implementation. If
used as main ObjectCache all cached objects will be cached
under the same JCS region name (see
ObjectCacheJCSImpl.DEFAULT_REGION ).
Implementation configuration properties:
Property Key |
Property Values |
- |
-
|
author: Matthew Baird (mattbaird@yahoo.com); version: $Id: ObjectCacheJCSImpl.java,v 1.11.2.2 2005/12/21 22:24:15 tomdz Exp $ |
DEFAULT_REGION | final public static String DEFAULT_REGION(Code) | | The used default region name.
|
cache | public void cache(Identity oid, Object obj)(Code) | | makes object obj persistent to the Objectcache under the key oid.
|
clear | public void clear()(Code) | | clear the ObjectCache.
|
lookup | public Object lookup(Identity oid)(Code) | | Lookup object with Identity oid in objectTable.
returns null if no matching id is found
|
remove | public void remove(Identity oid)(Code) | | removes an Object from the cache.
Parameters: oid - the Identity of the object to be removed. |
|
|