org.castor.cache.distributed
Class OsCache
- Cache, Map
public final class OsCache
OSCache (opensymphony) implementation of Castor JDO Cache.
For more details of OSCache, see http://www.opensymphony.com/oscache
$Revision: 6320 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $static String | IMPLEMENTATION - The classname of the implementations cache class.
|
static String | NEEDS_REFRESH_EXCEPTION - Classname of exception thrown by getFromCache() method of oscache.
|
static String | TYPE - The type of the cache.
|
OsCache(Object cache) - Construct an instance of OsCache that wrapps access to given cache implementation
of class
com.opensymphony.oscache.general.GeneralCacheAdministrator .
|
IMPLEMENTATION
public static final String IMPLEMENTATION
The classname of the implementations cache class.
NEEDS_REFRESH_EXCEPTION
public static final String NEEDS_REFRESH_EXCEPTION
Classname of exception thrown by getFromCache() method of oscache.
TYPE
public static final String TYPE
The type of the cache.
OsCache
public OsCache(Object cache)
Construct an instance of OsCache that wrapps access to given cache implementation
of class com.opensymphony.oscache.general.GeneralCacheAdministrator
.
cache
- The cache to be wrapped.
containsKey
public boolean containsKey(Object key)
java.util.Map.containsKey(java.lang.Object)
containsValue
public boolean containsValue(Object value)
java.util.Map.containsValue(java.lang.Object)
entrySet
public Set entrySet()
get
public Object get(Object key)
java.util.Map.get(java.lang.Object)
isEmpty
public boolean isEmpty()
keySet
public Set keySet()
put
public Object put(Object key,
Object value)
java.util.Map.put(java.lang.Object, java.lang.Object)
putAll
public void putAll(Map map)
java.util.Map.putAll(java.util.Map)
remove
public Object remove(Object key)
java.util.Map.remove(java.lang.Object)
values
public Collection values()
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com