java.util.Map<java.lang.Object,java.lang.Object>, CacheAbstractDistributedCache, AbstractHashbelt, CountLimited, EHCache, JcsCache, NoCache, OsCache, TimeLimited, Unlimitedpublic abstract class AbstractBaseCache extends java.lang.Object implements Cache
DEFAULT_DEBUG, DEFAULT_NAME, DEFAULT_TYPE, PARAM_DEBUG, PARAM_NAME, PARAM_TYPE| Constructor | Description | 
|---|---|
AbstractBaseCache() | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
close() | 
 Life-cycle method to allow custom resource cleanup for a cache implementation. 
 | 
void | 
expire(java.lang.Object key) | 
 Remove the mapping identified by key from the cache. 
 | 
void | 
expireAll() | 
 Removes all mappings from the cache. 
 | 
java.lang.String | 
getName() | 
 Get virtual name of this cache. 
 | 
void | 
initialize(java.util.Properties params) | 
 Lyfe-cycle method to allow custom initialization of cache implementations. 
 | 
protected java.lang.Object | 
invokeMethod(java.lang.Object target,
            java.lang.String name,
            java.lang.Class<?>[] types,
            java.lang.Object[] arguments) | 
 Invoke method with given name and arguments having parameters of types
 specified on the given target. 
 | 
protected java.lang.Object | 
invokeStaticMethod(java.lang.Class<?> target,
                  java.lang.String name,
                  java.lang.Class<?>[] types,
                  java.lang.Object[] arguments) | 
 Invoke static method with given name and arguments having parameters of
 types specified on the given target. 
 | 
public void initialize(java.util.Properties params)
                throws CacheAcquireException
initialize in interface Cacheparams - Parameters to initialize the cache (e.g. name, capacity).CacheAcquireException - If cache can not be initialized.public void close()
public final java.lang.String getName()
public final void expire(java.lang.Object key)
public final void expireAll()
protected final java.lang.Object invokeStaticMethod(java.lang.Class<?> target,
                                                    java.lang.String name,
                                                    java.lang.Class<?>[] types,
                                                    java.lang.Object[] arguments)
                                             throws java.lang.NoSuchMethodException,
                                                    java.lang.IllegalAccessException,
                                                    java.lang.reflect.InvocationTargetException
target - The target object to invoke the method on.name - The name of the method to invoke.types - The types of the parameters.arguments - The parameters.java.lang.NoSuchMethodException - If a matching method is not found or if the
         name is "<init>"or "<clinit>".java.lang.IllegalAccessException - If this Method object enforces Java language
         access control and the underlying method is inaccessible.java.lang.reflect.InvocationTargetException - If the underlying method throws an exception.protected final java.lang.Object invokeMethod(java.lang.Object target,
                                              java.lang.String name,
                                              java.lang.Class<?>[] types,
                                              java.lang.Object[] arguments)
                                       throws java.lang.NoSuchMethodException,
                                              java.lang.IllegalAccessException,
                                              java.lang.reflect.InvocationTargetException
target - The target object to invoke the method on.name - The name of the method to invoke.types - The types of the parameters.arguments - The parameters.java.lang.NoSuchMethodException - If a matching method is not found or if the
         name is "<init>"or "<clinit>".java.lang.IllegalAccessException - If this Method object enforces Java language
         access control and the underlying method is inaccessible.java.lang.reflect.InvocationTargetException - If the underlying method throws an exception.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com