org.jmage.cache
Class CacheManagerImpl
java.lang.Object
org.jmage.cache.CacheManagerImpl
- All Implemented Interfaces:
- CacheManager
public class CacheManagerImpl
- extends java.lang.Object
- implements CacheManager
CacheManagerImpl manages cache instances by cache Type and object type
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MEMORY
public static final java.lang.String MEMORY
- See Also:
- Constant Field Values
DISK
public static final java.lang.String DISK
- See Also:
- Constant Field Values
cacheManager
protected static CacheManager cacheManager
caches
protected java.util.HashMap caches
log
protected static org.apache.log4j.Logger log
getCacheManager
public static CacheManager getCacheManager()
createCacheFor
public Cache createCacheFor(java.lang.Class factoryType,
java.util.Properties cacheProps)
throws CacheException
- Specified by:
createCacheFor
in interface CacheManager
- Throws:
CacheException
getCacheFor
public Cache getCacheFor(java.lang.Class factoryType)
throws CacheException
- Specified by:
getCacheFor
in interface CacheManager
- Throws:
CacheException
destroyCacheFor
public void destroyCacheFor(java.lang.Class factoryType)
throws CacheException
- Specified by:
destroyCacheFor
in interface CacheManager
- Throws:
CacheException
Copyright © 2004-2008 Sourceforge. All Rights Reserved.