|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.common.cache.ehcache.EhCacheCacheProvider
public class EhCacheCacheProvider
Cache interface based on ehcache
http://www.ehcache.org| Constructor Summary | |
|---|---|
EhCacheCacheProvider(String configPath,
boolean jmxEnabled,
boolean withCacheStats)
|
|
| Method Summary | ||
|---|---|---|
void |
create(boolean jmxEnabled,
boolean withCacheStats)
|
|
|
createCache(String name)
Create a named single instance cache in this cache manager, if the cache already exists, return it if the name is null, a new anonymous cache is created |
|
protected net.sf.ehcache.config.Configuration |
getConfiguration(String configPath)
Read the cache configuration from the specified resource. |
|
void |
shutdown()
perform a shutdown |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject
public EhCacheCacheProvider(String configPath,
boolean jmxEnabled,
boolean withCacheStats)
throws IOException
IOException| Method Detail |
|---|
protected net.sf.ehcache.config.Configuration getConfiguration(String configPath)
throws IOException
configPath -
IOException
public void create(boolean jmxEnabled,
boolean withCacheStats)
public void shutdown()
public <K,V> Cache<K,V> createCache(String name)
CacheProvider
createCache in interface CacheProviderK - The Key type for the cacheV - The pay-load typename - The non-null name of the cache.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||