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 class
JCacheConfig.Builder
-
Constructor Summary
Constructors Constructor Description JCacheConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JCacheConfig.Builder
builder()
boolean
isCopyAlwaysIfRequested()
boolean
isEnableManagement()
boolean
isEnableReadThrough()
boolean
isEnableStatistics()
boolean
isSupportOnlineListenerAttachment()
void
setCopyAlwaysIfRequested(boolean f)
void
setEnableManagement(boolean f)
void
setEnableReadThrough(boolean f)
void
setEnableStatistics(boolean f)
void
setSupportOnlineListenerAttachment(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:
builder
in interfaceorg.cache2k.config.ConfigBean<JCacheConfig,JCacheConfig.Builder>
- Specified by:
builder
in interfaceorg.cache2k.config.ConfigSection<JCacheConfig,JCacheConfig.Builder>
-
-