| ClientConfigAddNearCacheConfig Method (String, NearCacheConfig) |
Helper method to add a new NearCacheConfig.
Namespace:
Hazelcast.Config
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax public virtual ClientConfig AddNearCacheConfig(
string mapName,
NearCacheConfig nearCacheConfig
)
Public Overridable Function AddNearCacheConfig (
mapName As String,
nearCacheConfig As NearCacheConfig
) As ClientConfig
public:
virtual ClientConfig^ AddNearCacheConfig(
String^ mapName,
NearCacheConfig^ nearCacheConfig
)
abstract AddNearCacheConfig :
mapName : string *
nearCacheConfig : NearCacheConfig -> ClientConfig
override AddNearCacheConfig :
mapName : string *
nearCacheConfig : NearCacheConfig -> ClientConfig
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:
ClientConfigconfigured
ClientConfig for chaining
See Also