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> |
CacheConfigReadOnly.setCacheLoaderFactory(javax.cache.configuration.Factory<? extends javax.cache.integration.CacheLoader<K,V>> cacheLoaderFactory) |
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> |
CacheConfigReadOnly.setCacheWriterFactory(javax.cache.configuration.Factory<? extends javax.cache.integration.CacheWriter<? super K,? super V>> cacheWriterFactory) |
CacheConfiguration<K,V> |
CacheConfiguration.setExpiryPolicyFactory(javax.cache.configuration.Factory<? extends javax.cache.expiry.ExpiryPolicy> factory)
Set the
Factory for the ExpiryPolicy . |
CacheConfiguration<K,V> |
CacheConfigReadOnly.setExpiryPolicyFactory(javax.cache.configuration.Factory<? extends javax.cache.expiry.ExpiryPolicy> expiryPolicyFactory) |
CacheConfiguration<K,V> |
CacheConfigReadOnly.setHotRestartConfig(HotRestartConfig hotRestartConfig) |
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> |
CacheConfigReadOnly.setReadThrough(boolean isReadThrough) |
CacheConfiguration<K,V> |
CacheConfiguration.setStatisticsEnabled(boolean enabled)
Sets whether statistics gathering is enabled on a cache.
|
CacheConfiguration<K,V> |
CacheConfigReadOnly.setStatisticsEnabled(boolean enabled) |
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.
|
CacheConfiguration<K,V> |
CacheConfigReadOnly.setWriteThrough(boolean isWriteThrough) |
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.