public final class ExtendedMutableConfiguration<K,V> extends javax.cache.configuration.MutableConfiguration<K,V> implements ExtendedConfiguration<K,V>
| Constructor and Description |
|---|
ExtendedMutableConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Cache2kConfiguration<K,V> |
getCache2kConfiguration()
Retrieve the extended cache2k configuration.
|
static <K,V> ExtendedMutableConfiguration<K,V> |
of(Cache2kBuilder<K,V> builder)
The preferred way to construct a JCache based on a cache2k configuration.
|
static <K,V> ExtendedMutableConfiguration<K,V> |
of(Cache2kConfiguration<K,V> configuration) |
void |
setCache2kConfiguration(Cache2kConfiguration<K,V> _cache2kConfiguration) |
addCacheEntryListenerConfiguration, equals, getCacheEntryListenerConfigurations, getCacheLoaderFactory, getCacheWriterFactory, getExpiryPolicyFactory, getKeyType, getValueType, hashCode, isManagementEnabled, isReadThrough, isStatisticsEnabled, isStoreByValue, isWriteThrough, removeCacheEntryListenerConfiguration, setCacheLoaderFactory, setCacheWriterFactory, setExpiryPolicyFactory, setManagementEnabled, setReadThrough, setStatisticsEnabled, setStoreByValue, setTypes, setWriteThroughclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitpublic static <K,V> ExtendedMutableConfiguration<K,V> of(Cache2kBuilder<K,V> builder)
MutableConfiguration.
It is possible to set parameters defined by JCache, e.g.
MutableConfiguration.setCacheLoaderFactory(Factory). In this case the
settings will be merged. See the documentation.public static <K,V> ExtendedMutableConfiguration<K,V> of(Cache2kConfiguration<K,V> configuration)
public Cache2kConfiguration<K,V> getCache2kConfiguration()
ExtendedConfigurationgetCache2kConfiguration in interface ExtendedConfiguration<K,V>public void setCache2kConfiguration(Cache2kConfiguration<K,V> _cache2kConfiguration)
cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.