Package | Description |
---|---|
javax.cache.configuration |
This package contains configuration classes and interfaces.
|
Modifier and Type | Method and Description |
---|---|
MutableConfiguration<K,V> |
MutableConfiguration.addCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
Add a configuration for a
CacheEntryListener . |
MutableConfiguration<K,V> |
MutableConfiguration.removeCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
Remove a configuration for a
CacheEntryListener . |
MutableConfiguration<K,V> |
MutableConfiguration.setCacheLoaderFactory(Factory<? extends CacheLoader<K,V>> factory)
Set the
CacheLoader factory. |
MutableConfiguration<K,V> |
MutableConfiguration.setCacheWriterFactory(Factory<? extends CacheWriter<? super K,? super V>> factory)
Set the
CacheWriter factory. |
MutableConfiguration<K,V> |
MutableConfiguration.setExpiryPolicyFactory(Factory<? extends ExpiryPolicy> factory)
Set the
Factory for the ExpiryPolicy . |
MutableConfiguration<K,V> |
MutableConfiguration.setManagementEnabled(boolean enabled)
Sets whether management is enabled on a cache.
|
MutableConfiguration<K,V> |
MutableConfiguration.setReadThrough(boolean isReadThrough)
Set if read-through caching should be used.
|
MutableConfiguration<K,V> |
MutableConfiguration.setStatisticsEnabled(boolean enabled)
Sets whether statistics gathering is enabled on a cache.
|
MutableConfiguration<K,V> |
MutableConfiguration.setStoreByValue(boolean isStoreByValue)
Set if a configured cache should use store-by-value or store-by-reference
semantics.
|
MutableConfiguration<K,V> |
MutableConfiguration.setTypes(Class<K> keyType,
Class<V> valueType)
Sets the expected type of keys and values for a
Cache
configured with this Configuration . |
MutableConfiguration<K,V> |
MutableConfiguration.setWriteThrough(boolean isWriteThrough)
Set if write-through caching should be used.
|
Copyright © 2014. All Rights Reserved.