public class SpecificCacheActivationResolver extends GlobalCacheActivationResolver
Modifier and Type | Field and Description |
---|---|
(package private) Set<String> |
disabledFeatures |
Constructor and Description |
---|
SpecificCacheActivationResolver(boolean enabled,
Set<String> disabledFeatures) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCacheEnabled(String feature)
Tells if cache is enabled for a specific feature.
|
isCacheGlobalyEnabled
public boolean isCacheEnabled(String feature)
ICacheActivationResolver
isCacheEnabled
in interface ICacheActivationResolver
isCacheEnabled
in class GlobalCacheActivationResolver
feature
- Feature for which to check cache activation.