AbstractCacheFactory
, CoherenceCacheFactory
, CountLimitedFactory
, EHCacheFactory
, FIFOHashbeltFactory
, FKCacheFactory
, GigaspacesCacheFactory
, JCacheFactory
, JcsCacheFactory
, LRUHashbeltFactory
, NoCacheFactory
, OsCacheFactory
, TimeLimitedFactory
, UnlimitedFactory
public interface CacheFactory
Modifier and Type | Method | Description |
---|---|---|
Cache |
getCache(java.lang.ClassLoader classLoader) |
Instantiates an instance of the cache implementation this factory is responsible
for using the given classloader.
|
java.lang.String |
getCacheClassName() |
Returns the full class name of the underlying cache implementation.
|
java.lang.String |
getCacheType() |
Returns the short alias cache type for this factory instance.
|
void |
shutdown() |
Allows for cache-specific shutdown operations and resource cleanup.
|
Cache getCache(java.lang.ClassLoader classLoader) throws CacheAcquireException
classLoader
- A ClassLoader instance.CacheAcquireException
- Problem instantiating a cache instance.java.lang.String getCacheType()
java.lang.String getCacheClassName()
void shutdown()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com