Uses of Class
com.hazelcast.config.NearCacheConfig
Package
Description
Contains classes related to config for com.hazelcast.client
Provides classes for configuring HazelcastInstance.
-
Uses of NearCacheConfig in com.hazelcast.client.config
Modifier and TypeMethodDescriptionClientConfig.getNearCacheConfig
(String name) Gets theNearCacheConfig
configured for the map / cache with nameModifier and TypeMethodDescriptionClientConfig.getNearCacheConfigMap()
Map of all configured NearCacheConfig's with the name key and configuration as the valueModifier and TypeMethodDescriptionClientConfig.addNearCacheConfig
(NearCacheConfig nearCacheConfig) Helper method to add a new NearCacheConfigModifier and TypeMethodDescriptionClientConfig.setNearCacheConfigMap
(Map<String, NearCacheConfig> nearCacheConfigMap) Sets allNearCacheConfig
's with the provided map -
Uses of NearCacheConfig in com.hazelcast.config
Modifier and TypeMethodDescriptionstatic NearCacheConfig
NearCacheConfigAccessor.copyWithInitializedDefaultMaxSizeForOnHeapMaps
(NearCacheConfig nearCacheConfig) NearCacheConfig.setCacheLocalEntries
(boolean cacheLocalEntries) Sets if local entries are also cached in the Near Cache.NearCacheConfig.setEvictionConfig
(EvictionConfig evictionConfig) Sets the eviction configuration for this Near Cache.NearCacheConfig.setInMemoryFormat
(InMemoryFormat inMemoryFormat) Sets the data type used to store entries.NearCacheConfig.setInMemoryFormat
(String inMemoryFormat) NearCacheConfig.setInvalidateOnChange
(boolean invalidateOnChange) Sets if Near Cache entries are invalidated when the entries in the backing data structure are changed (updated or removed).NearCacheConfig.setLocalUpdatePolicy
(NearCacheConfig.LocalUpdatePolicy localUpdatePolicy) Sets theNearCacheConfig.LocalUpdatePolicy
of this Near Cache.NearCacheConfig.setMaxIdleSeconds
(int maxIdleSeconds) Set the maximum number of seconds each entry can stay in the Near Cache as untouched (not-read).Sets the name of the Near Cache.NearCacheConfig.setPreloaderConfig
(NearCachePreloaderConfig preloaderConfig) Sets theNearCachePreloaderConfig
of this Near Cache.NearCacheConfig.setSerializeKeys
(boolean serializeKeys) Sets if the Near Cache key is stored in serialized format or by-reference.NearCacheConfig.setTimeToLiveSeconds
(int timeToLiveSeconds) Returns the maximum number of seconds for each entry to stay in the Near Cache (time to live).Modifier and TypeMethodDescriptionstatic NearCacheConfig
NearCacheConfigAccessor.copyWithInitializedDefaultMaxSizeForOnHeapMaps
(NearCacheConfig nearCacheConfig)