public interface CacheFactory
Modifier and Type | Method and Description |
---|---|
Cache |
getCache(ClassLoader classLoader)
Instantiates an instance of the cache implementation this factory is responsible
for using the given classloader.
|
String |
getCacheClassName()
Returns the full class name of the underlying cache implementation.
|
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(ClassLoader classLoader) throws CacheAcquireException
classLoader
- A ClassLoader instance.CacheAcquireException
- Problem instantiating a cache instance.String getCacheType()
String getCacheClassName()
void shutdown()
Copyright © 2013. All rights reserved.