public interface CacheProvider
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.Cache |
createCache(String name)
Creates cache for a given name.
|
javax.persistence.Cache |
getCache(String name)
Returns cache for a given cache name.
|
void |
init(Map<?,?> properties)
Called once to load up the CacheManager.
|
void |
init(String cacheResourceName)
Inits the.
|
void |
shutdown()
Shutdown cache.
|
void init(Map<?,?> properties)
properties - the propertiesCacheException - the cache exceptionvoid init(String cacheResourceName)
cacheResourceName - the cache resource nameCacheException - the cache exceptionjavax.persistence.Cache createCache(String name)
name - the nameCacheException - the cache exceptionjavax.persistence.Cache getCache(String name)
name - Cache NameCacheException - the cache exceptionvoid shutdown()
Copyright © 2015. All Rights Reserved.