public class CacheFactory
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
CacheFactory() |
|
CacheFactory(CacheConfiguration conf) |
Modifier and Type | Method and Description |
---|---|
ObjectCache |
createCache(java.lang.String name)
Creates a new cache.
|
MultiCacheManager |
getCacheManager()
Returns the manager that handles inter-cache communication.
|
void |
shutdown()
CacheFactory lifecycle shutdown method.
|
protected CacheFactory()
public CacheFactory(CacheConfiguration conf)
public ObjectCache createCache(java.lang.String name)
name
- a name for the cache. Useful if there will be multiple caches for various objects.public MultiCacheManager getCacheManager()
public void shutdown()