Click or drag to resize

ClientConfigAddNearCacheConfig Method (String, NearCacheConfig)

Helper method to add a new NearCacheConfig.

Namespace:  Hazelcast.Config
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.11
Syntax
public virtual ClientConfig AddNearCacheConfig(
	string mapName,
	NearCacheConfig nearCacheConfig
)

Parameters

mapName
Type: SystemString
name of the IMap / ICache that Near Cache config will be applied to
nearCacheConfig
Type: Hazelcast.ConfigNearCacheConfig
NearCacheConfig

Return Value

Type: ClientConfig
configured ClientConfig for chaining
See Also