public class FeatureCacheProviderEhCache extends Object implements FF4JCacheManager
| Constructor and Description |
|---|
FeatureCacheProviderEhCache()
Default constructor to allow IoC.
|
FeatureCacheProviderEhCache(net.sf.ehcache.config.Configuration config)
Default constructor to allow IoC.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearFeatures() |
void |
clearProperties() |
void |
evictFeature(String featureId) |
void |
evictProperty(String propertyName) |
net.sf.ehcache.config.Configuration |
getCacheConfiguration()
Getter accessor for attribute 'cacheConfiguration'.
|
net.sf.ehcache.Cache |
getCacheFeatures()
Getter accessor for attribute 'cacheFeatures'.
|
net.sf.ehcache.CacheManager |
getCacheManager()
Getter accessor for attribute 'cacheManager'.
|
net.sf.ehcache.Cache |
getCacheProperties()
Getter accessor for attribute 'cacheProperties'.
|
String |
getCacheProviderName() |
Feature |
getFeature(String featureId) |
Object |
getFeatureNativeCache() |
Property<?> |
getProperty(String featureId) |
Object |
getPropertyNativeCache() |
Set<String> |
listCachedFeatureNames() |
Set<String> |
listCachedPropertyNames() |
void |
putFeature(Feature feat) |
void |
putProperty(Property<?> property) |
void |
setCacheConfiguration(net.sf.ehcache.config.Configuration cacheConfiguration)
Setter accessor for attribute 'cacheConfiguration'.
|
void |
setCacheFeatures(net.sf.ehcache.Cache cacheFeatures)
Setter accessor for attribute 'cacheFeatures'.
|
void |
setCacheManager(net.sf.ehcache.CacheManager cacheManager)
Setter accessor for attribute 'cacheManager'.
|
void |
setCacheProperties(net.sf.ehcache.Cache cacheProperties)
Setter accessor for attribute 'cacheProperties'.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonExceptionpublic FeatureCacheProviderEhCache()
public FeatureCacheProviderEhCache(net.sf.ehcache.config.Configuration config)
public String getCacheProviderName()
getCacheProviderName in interface FF4JCacheManagerpublic Set<String> listCachedFeatureNames()
listCachedFeatureNames in interface FF4JCacheManagerpublic void clearFeatures()
clearFeatures in interface FF4JCacheManagerpublic void clearProperties()
clearProperties in interface FF4JCacheManagerpublic void evictFeature(String featureId)
evictFeature in interface FF4JCacheManagerpublic void evictProperty(String propertyName)
evictProperty in interface FF4JCacheManagerpublic void putFeature(Feature feat)
putFeature in interface FF4JCacheManagerpublic void putProperty(Property<?> property)
putProperty in interface FF4JCacheManagerpublic Feature getFeature(String featureId)
getFeature in interface FF4JCacheManagerpublic Property<?> getProperty(String featureId)
getProperty in interface FF4JCacheManagerpublic Set<String> listCachedPropertyNames()
listCachedPropertyNames in interface FF4JCacheManagerpublic Object getFeatureNativeCache()
getFeatureNativeCache in interface FF4JCacheManagerpublic Object getPropertyNativeCache()
getPropertyNativeCache in interface FF4JCacheManagerpublic net.sf.ehcache.Cache getCacheFeatures()
public void setCacheFeatures(net.sf.ehcache.Cache cacheFeatures)
cacheFeatures - new value for 'cacheFeatures 'public net.sf.ehcache.Cache getCacheProperties()
public void setCacheProperties(net.sf.ehcache.Cache cacheProperties)
cacheProperties - new value for 'cacheProperties 'public net.sf.ehcache.config.Configuration getCacheConfiguration()
public void setCacheConfiguration(net.sf.ehcache.config.Configuration cacheConfiguration)
cacheConfiguration - new value for 'cacheConfiguration 'public net.sf.ehcache.CacheManager getCacheManager()
public void setCacheManager(net.sf.ehcache.CacheManager cacheManager)
cacheManager - new value for 'cacheManager 'Copyright © 2013–2021 FF4J. All rights reserved.