| Package | Description | 
|---|---|
| com.hazelcast.client.config | Contains classes related to config for com.hazelcast.client | 
| com.hazelcast.config | Provides classes for configuring HazelcastInstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| NearCacheConfig | ClientConfig. getNearCacheConfig(String name)Gets the  NearCacheConfigconfigured for the map / cache with name | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,NearCacheConfig> | ClientConfig. getNearCacheConfigMap()Map of all configured NearCacheConfig's with the name key and configuration as the value | 
| Modifier and Type | Method and Description | 
|---|---|
| ClientConfig | ClientConfig. addNearCacheConfig(NearCacheConfig nearCacheConfig)Helper method to add a new NearCacheConfig | 
| Modifier and Type | Method and Description | 
|---|---|
| ClientConfig | ClientConfig. setNearCacheConfigMap(Map<String,NearCacheConfig> nearCacheConfigMap)Sets all  NearCacheConfig's with the provided map | 
| Modifier and Type | Method and Description | 
|---|---|
| static NearCacheConfig | NearCacheConfigAccessor. copyWithInitializedDefaultMaxSizeForOnHeapMaps(NearCacheConfig nearCacheConfig) | 
| NearCacheConfig | MapConfig. getNearCacheConfig()Returns the Near Cache configuration | 
| NearCacheConfig | NearCacheConfig. setCacheLocalEntries(boolean cacheLocalEntries)Sets if local entries are also cached in the Near Cache. | 
| NearCacheConfig | NearCacheConfig. setEvictionConfig(EvictionConfig evictionConfig)Sets the eviction configuration for this Near Cache. | 
| NearCacheConfig | NearCacheConfig. setInMemoryFormat(InMemoryFormat inMemoryFormat)Sets the data type used to store entries. | 
| NearCacheConfig | NearCacheConfig. setInMemoryFormat(String inMemoryFormat) | 
| NearCacheConfig | 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 | NearCacheConfig. setLocalUpdatePolicy(NearCacheConfig.LocalUpdatePolicy localUpdatePolicy)Sets the  NearCacheConfig.LocalUpdatePolicyof this Near Cache. | 
| NearCacheConfig | NearCacheConfig. setMaxIdleSeconds(int maxIdleSeconds)Set the maximum number of seconds each entry can stay in the Near Cache as untouched (not-read). | 
| NearCacheConfig | NearCacheConfig. setName(String name)Sets the name of the Near Cache. | 
| NearCacheConfig | NearCacheConfig. setPreloaderConfig(NearCachePreloaderConfig preloaderConfig)Sets the  NearCachePreloaderConfigof this Near Cache. | 
| NearCacheConfig | NearCacheConfig. setSerializeKeys(boolean serializeKeys)Sets if the Near Cache key is stored in serialized format or by-reference. | 
| NearCacheConfig | NearCacheConfig. setTimeToLiveSeconds(int timeToLiveSeconds)Returns the maximum number of seconds for each entry to stay in the Near Cache (time to live). | 
| Modifier and Type | Method and Description | 
|---|---|
| static NearCacheConfig | NearCacheConfigAccessor. copyWithInitializedDefaultMaxSizeForOnHeapMaps(NearCacheConfig nearCacheConfig) | 
| MapConfig | MapConfig. setNearCacheConfig(NearCacheConfig nearCacheConfig)Sets the Near Cache configuration | 
| Constructor and Description | 
|---|
| NearCacheConfig(NearCacheConfig config) | 
Copyright © 2023 Hazelcast, Inc.. All rights reserved.