Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Class and Description |
---|---|
class |
CacheConfig<K,V>
Contains all the configuration for the
ICache |
class |
CacheConfigReadOnly<K,V>
Readonly version of
CacheConfig |
Modifier and Type | Method and Description |
---|---|
CacheConfiguration<K,V> |
CacheConfiguration.addCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
Add a configuration for a
CacheEntryListener . |
CacheConfiguration<K,V> |
CacheConfiguration.removeCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
Remove a configuration for a
CacheEntryListener . |
CacheConfiguration<K,V> |
CacheConfiguration.setCacheLoaderFactory(javax.cache.configuration.Factory<? extends javax.cache.integration.CacheLoader<K,V>> factory)
Set the
CacheLoader factory. |
CacheConfiguration<K,V> |
CacheConfiguration.setCacheWriterFactory(javax.cache.configuration.Factory<? extends javax.cache.integration.CacheWriter<? super K,? super V>> factory)
Set the
CacheWriter factory. |
CacheConfiguration<K,V> |
CacheConfiguration.setExpiryPolicyFactory(javax.cache.configuration.Factory<? extends javax.cache.expiry.ExpiryPolicy> factory)
Set the
Factory for the ExpiryPolicy . |
CacheConfiguration<K,V> |
CacheConfiguration.setManagementEnabled(boolean enabled)
Sets whether management is enabled on a cache.
|
CacheConfiguration<K,V> |
CacheConfiguration.setReadThrough(boolean isReadThrough)
Set if read-through caching should be used.
|
CacheConfiguration<K,V> |
CacheConfiguration.setStatisticsEnabled(boolean enabled)
Sets whether statistics gathering is enabled on a cache.
|
CacheConfiguration<K,V> |
CacheConfiguration.setStoreByValue(boolean isStoreByValue)
Set if a configured cache should use store-by-value or store-by-reference
semantics.
|
CacheConfiguration<K,V> |
CacheConfiguration.setTypes(Class<K> keyType,
Class<V> valueType)
Sets the expected type of keys and values for a
Cache
configured with this Configuration . |
CacheConfiguration<K,V> |
CacheConfiguration.setWriteThrough(boolean isWriteThrough)
Set if write-through caching should be used.
|
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.