Uses of Class
com.hazelcast.config.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 Description NearCacheConfig
ClientConfig. getNearCacheConfig(String name)
Gets theNearCacheConfig
configured for the map / cache with nameMethods in com.hazelcast.client.config that return types with arguments of type NearCacheConfig Modifier and Type Method Description Map<String,NearCacheConfig>
ClientConfig. 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 NearCacheConfig Modifier and Type Method Description ClientConfig
ClientConfig. addNearCacheConfig(NearCacheConfig nearCacheConfig)
Helper method to add a new NearCacheConfigMethod parameters in com.hazelcast.client.config with type arguments of type NearCacheConfig Modifier and Type Method Description ClientConfig
ClientConfig. 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 NearCacheConfig Modifier and Type Method Description NearCacheConfig
MapConfig. getNearCacheConfig()
Returns the Near Cache configurationNearCacheConfig
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 theNearCacheConfig.LocalUpdatePolicy
of 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 theNearCachePreloaderConfig
of 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).Methods in com.hazelcast.config with parameters of type NearCacheConfig Modifier and Type Method Description static void
NearCacheConfigAccessor. initDefaultMaxSizeForOnHeapMaps(NearCacheConfig nearCacheConfig)
MapConfig
MapConfig. setNearCacheConfig(NearCacheConfig nearCacheConfig)
Sets the Near Cache configurationConstructors in com.hazelcast.config with parameters of type NearCacheConfig Constructor Description NearCacheConfig(NearCacheConfig config)