Package org.cache2k.jcache
Class JCacheConfig
- java.lang.Object
-
- org.cache2k.jcache.JCacheConfig
-
- All Implemented Interfaces:
org.cache2k.config.BeanMarker,org.cache2k.config.ConfigBean<JCacheConfig,JCacheConfig.Builder>,org.cache2k.config.ConfigSection<JCacheConfig,JCacheConfig.Builder>
public class JCacheConfig extends Object implements org.cache2k.config.ConfigSection<JCacheConfig,JCacheConfig.Builder>
Configuration section for the cache2k configuration to control additional behavior related to JCache.- Author:
- Jens Wilke
- See Also:
- JSR107 / JCache - cache2k User Guide
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJCacheConfig.Builder
-
Constructor Summary
Constructors Constructor Description JCacheConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JCacheConfig.Builderbuilder()booleanisCopyAlwaysIfRequested()booleanisEnableManagement()booleanisEnableReadThrough()booleanisEnableStatistics()booleanisSupportOnlineListenerAttachment()voidsetCopyAlwaysIfRequested(boolean f)voidsetEnableManagement(boolean f)voidsetEnableReadThrough(boolean f)voidsetEnableStatistics(boolean f)voidsetSupportOnlineListenerAttachment(boolean f)
-
-
-
Method Detail
-
isCopyAlwaysIfRequested
public boolean isCopyAlwaysIfRequested()
-
setCopyAlwaysIfRequested
public void setCopyAlwaysIfRequested(boolean f)
-
isSupportOnlineListenerAttachment
public boolean isSupportOnlineListenerAttachment()
-
setSupportOnlineListenerAttachment
public void setSupportOnlineListenerAttachment(boolean f)
-
isEnableStatistics
public boolean isEnableStatistics()
-
setEnableStatistics
public void setEnableStatistics(boolean f)
-
isEnableManagement
public boolean isEnableManagement()
-
setEnableManagement
public void setEnableManagement(boolean f)
-
isEnableReadThrough
public boolean isEnableReadThrough()
-
setEnableReadThrough
public void setEnableReadThrough(boolean f)
-
builder
public JCacheConfig.Builder builder()
- Specified by:
builderin interfaceorg.cache2k.config.ConfigBean<JCacheConfig,JCacheConfig.Builder>- Specified by:
builderin interfaceorg.cache2k.config.ConfigSection<JCacheConfig,JCacheConfig.Builder>
-
-