Uses of Class
com.hazelcast.config.NearCacheConfig
Packages that use 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
Methods in com.hazelcast.client.config that return NearCacheConfigModifier and TypeMethodDescriptionClientConfig.getNearCacheConfig
(String name) Gets theNearCacheConfig
configured for the map / cache with nameMethods in com.hazelcast.client.config that return types with arguments of type NearCacheConfigModifier and TypeMethodDescriptionClientConfig.getNearCacheConfigMap()
Map of all configured NearCacheConfig's with the name key and configuration as the valueMethods in com.hazelcast.client.config with parameters of type NearCacheConfigModifier and TypeMethodDescriptionClientConfig.addNearCacheConfig
(NearCacheConfig nearCacheConfig) Helper method to add a new NearCacheConfigMethod parameters in com.hazelcast.client.config with type arguments of type NearCacheConfigModifier and TypeMethodDescriptionClientConfig.setNearCacheConfigMap
(Map<String, NearCacheConfig> nearCacheConfigMap) Sets allNearCacheConfig
's with the provided map -
Uses of NearCacheConfig in com.hazelcast.config
Methods in com.hazelcast.config that return NearCacheConfigModifier and TypeMethodDescriptionstatic NearCacheConfig
NearCacheConfigAccessor.copyWithInitializedDefaultMaxSizeForOnHeapMaps
(NearCacheConfig nearCacheConfig) MapConfig.getNearCacheConfig()
Returns the Near Cache configurationNearCacheConfig.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).Methods in com.hazelcast.config with parameters of type NearCacheConfigModifier and TypeMethodDescriptionstatic NearCacheConfig
NearCacheConfigAccessor.copyWithInitializedDefaultMaxSizeForOnHeapMaps
(NearCacheConfig nearCacheConfig) MapConfig.setNearCacheConfig
(NearCacheConfig nearCacheConfig) Sets the Near Cache configurationConstructors in com.hazelcast.config with parameters of type NearCacheConfig