## Uses of Class
com.hazelcast.config.NearCacheConfig

- Packages that use NearCacheConfig
  Package | Description
  --- | ---
  com.hazelcast.client.config | Contains classes related to config for com.hazelcast.client
  com.hazelcast.config | Provides classes for configuring HazelcastInstance.

- - ### Uses of NearCacheConfig in com.hazelcast.client.config

    Methods in com.hazelcast.client.config that return NearCacheConfig
    Modifier and Type | Method and Description
    --- | ---
    `NearCacheConfig` | ClientConfig.`getNearCacheConfig(String name)` Gets the `NearCacheConfig` configured for the map / cache with name

    Methods in com.hazelcast.client.config that return types with arguments of type NearCacheConfig
    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

    Methods in com.hazelcast.client.config with parameters of type NearCacheConfig
    Modifier and Type | Method and Description
    --- | ---
    `ClientConfig` | ClientConfig.`addNearCacheConfig(NearCacheConfig nearCacheConfig)` Helper method to add a new NearCacheConfig
    `ClientConfig` | ClientConfig.`addNearCacheConfig(String name, NearCacheConfig nearCacheConfig)` Deprecated.

    Method parameters in com.hazelcast.client.config with type arguments of type NearCacheConfig
    Modifier and Type | Method and Description
    --- | ---
    `ClientConfig` | ClientConfig.`setNearCacheConfigMap(Map<String,NearCacheConfig> nearCacheConfigMap)` Sets all `NearCacheConfig`'s with the provided map

  - ### Uses of NearCacheConfig in com.hazelcast.config

    Subclasses of NearCacheConfig in com.hazelcast.config
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NearCacheConfigReadOnly` Deprecated. this class will be removed in 4.0; it is meant for internal usage only.

    Methods in com.hazelcast.config that return NearCacheConfig
    Modifier and Type | Method and Description
    --- | ---
    `NearCacheConfig` | MapConfigReadOnly.`getNearCacheConfig()` Deprecated.
    `NearCacheConfig` | MapConfig.`getNearCacheConfig()` Returns the Near Cache configuration
    `NearCacheConfig` | NearCacheConfigReadOnly.`setCacheLocalEntries(boolean cacheLocalEntries)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setCacheLocalEntries(boolean cacheLocalEntries)` Sets if local entries are also cached in the Near Cache.
    `NearCacheConfig` | NearCacheConfigReadOnly.`setEvictionConfig(EvictionConfig evictionConfig)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setEvictionConfig(EvictionConfig evictionConfig)` Sets the eviction configuration for this Near Cache.
    `NearCacheConfig` | NearCacheConfigReadOnly.`setEvictionPolicy(String evictionPolicy)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setEvictionPolicy(String evictionPolicy)` Deprecated. since 3.8, please use `getEvictionConfig()` and `EvictionConfig.setEvictionPolicy(EvictionPolicy)`
    `NearCacheConfig` | NearCacheConfigReadOnly.`setInMemoryFormat(InMemoryFormat inMemoryFormat)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setInMemoryFormat(InMemoryFormat inMemoryFormat)` Sets the data type used to store entries.
    `NearCacheConfig` | NearCacheConfigReadOnly.`setInMemoryFormat(String inMemoryFormat)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setInMemoryFormat(String inMemoryFormat)`
    `NearCacheConfig` | NearCacheConfigReadOnly.`setInvalidateOnChange(boolean invalidateOnChange)` Deprecated.
    `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` | NearCacheConfigReadOnly.`setLocalUpdatePolicy(NearCacheConfig.LocalUpdatePolicy localUpdatePolicy)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setLocalUpdatePolicy(NearCacheConfig.LocalUpdatePolicy localUpdatePolicy)` Sets the `NearCacheConfig.LocalUpdatePolicy` of this Near Cache.
    `NearCacheConfig` | NearCacheConfigReadOnly.`setMaxIdleSeconds(int maxIdleSeconds)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setMaxIdleSeconds(int maxIdleSeconds)` Set the maximum number of seconds each entry can stay in the Near Cache as untouched (not-read).
    `NearCacheConfig` | NearCacheConfigReadOnly.`setMaxSize(int maxSize)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setMaxSize(int maxSize)` Deprecated. since 3.8, please use `setEvictionConfig(EvictionConfig)` and `EvictionConfig.setSize(int)`
    `NearCacheConfig` | NearCacheConfigReadOnly.`setName(String name)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setName(String name)` Sets the name of the Near Cache.
    `NearCacheConfig` | NearCacheConfigReadOnly.`setPreloaderConfig(NearCachePreloaderConfig preloaderConfig)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setPreloaderConfig(NearCachePreloaderConfig preloaderConfig)` Sets the `NearCachePreloaderConfig` of this Near Cache.
    `NearCacheConfig` | NearCacheConfigReadOnly.`setSerializeKeys(boolean serializeKeys)` Deprecated.
    `NearCacheConfig` | NearCacheConfig.`setSerializeKeys(boolean serializeKeys)` Sets if the Near Cache key is stored in serialized format or by-reference.
    `NearCacheConfig` | NearCacheConfigReadOnly.`setTimeToLiveSeconds(int timeToLiveSeconds)` Deprecated.
    `NearCacheConfig` | 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 NearCacheConfig
    Modifier and Type | Method and Description
    --- | ---
    `static void` | NearCacheConfigAccessor.`initDefaultMaxSizeForOnHeapMaps(NearCacheConfig nearCacheConfig)`
    `MapConfig` | MapConfigReadOnly.`setNearCacheConfig(NearCacheConfig nearCacheConfig)` Deprecated.
    `MapConfig` | MapConfig.`setNearCacheConfig(NearCacheConfig nearCacheConfig)` Sets the Near Cache configuration

    Constructors in com.hazelcast.config with parameters of type NearCacheConfig
    Constructor and Description
    `NearCacheConfig(NearCacheConfig config)`
    `NearCacheConfigReadOnly(NearCacheConfig config)` Deprecated.

Copyright © 2018. All rights reserved.