| java.lang.Object com.jofti.cache.BaseAdaptor com.jofti.cache.adapter.EhCacheAdapter
EhCacheAdapter | public class EhCacheAdapter extends BaseAdaptor implements CacheAdapter(Code) | | The adapter implementation specific to EHCache.
The adapter takes care of the implementation specific details for converting
between the process the index expects and the behaviour of EHCache. This adapter is for versions
of EHCache 1.2 and upwards. For earlier versions you must use the EhCachePre1_2Adapter.
The start up of the adapter will also try and index any elements already in
the cache.
author: Steve Woodcock author: version: 1.0 since: 1.1
|
EhCacheAdapter | public EhCacheAdapter()(Code) | | |
remove | public void remove(Object key) throws JoftiException(Code) | | Removes the element which matches the key.
If no element matches, nothing is removed and no Exception is thrown.
Parameters: key - the key of the element to remove throws: CacheException - |
removeAll | public synchronized void removeAll() throws JoftiException(Code) | | Remove all elements in the cache, but leave the cache in a useable state.
throws: CacheException - |
|
|