| Package | Description |
|---|---|
| org.cache2k.jcache |
Support for using the JCache API with cache2k, that allows additional configuration.
|
| Modifier and Type | Method and Description |
|---|---|
JCacheConfiguration.Builder |
JCacheConfiguration.Builder.copyAlwaysIfRequested(boolean f)
When
true, copy keys and values when entering and leaving
the cache in case Configuration.isStoreByValue()
is true. |
JCacheConfiguration.Builder |
JCacheConfiguration.Builder.enableManagement(boolean f)
When
true makes the JMX management bean for the cache available. |
JCacheConfiguration.Builder |
JCacheConfiguration.Builder.enableReadThrough(boolean f)
When
true, operate cache in read through mode and use the configured
loader when there is no mapping for a key yet. |
JCacheConfiguration.Builder |
JCacheConfiguration.Builder.enableStatistics(boolean f)
When
true, exposes cache statistics via JMX. |
JCacheConfiguration.Builder |
JCacheConfiguration.Builder.supportOnlineListenerAttachment(boolean f)
Set to true, if online register and deregister of event listeners needs to be supported.
|
cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.