Uses of Class
javax.cache.configuration.MutableConfiguration
Packages that use MutableConfiguration
Package
Description
This package contains configuration classes and interfaces.
-
Uses of MutableConfiguration in javax.cache.configuration
Methods in javax.cache.configuration that return MutableConfigurationModifier and TypeMethodDescriptionMutableConfiguration.addCacheEntryListenerConfiguration
(CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) Add a configuration for aCacheEntryListener
.MutableConfiguration.removeCacheEntryListenerConfiguration
(CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) Remove a configuration for aCacheEntryListener
.MutableConfiguration.setCacheLoaderFactory
(Factory<? extends CacheLoader<K, V>> factory) Set theCacheLoader
factory.MutableConfiguration.setCacheWriterFactory
(Factory<? extends CacheWriter<? super K, ? super V>> factory) Set theCacheWriter
factory.MutableConfiguration.setExpiryPolicyFactory
(Factory<? extends ExpiryPolicy> factory) Set theFactory
for theExpiryPolicy
.MutableConfiguration.setManagementEnabled
(boolean enabled) Sets whether management is enabled on a cache.MutableConfiguration.setReadThrough
(boolean isReadThrough) Set if read-through caching should be used.MutableConfiguration.setStatisticsEnabled
(boolean enabled) Sets whether statistics gathering is enabled on a cache.MutableConfiguration.setStoreByValue
(boolean isStoreByValue) Set if a configured cache should use store-by-value or store-by-reference semantics.Sets the expected type of keys and values for aCache
configured with thisConfiguration
.MutableConfiguration.setWriteThrough
(boolean isWriteThrough) Set if write-through caching should be used.