![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | ClientNetworkConfigSetSmartRouting Method |
If true, client will route the key based operations to owner of the key at the best effort.
Namespace:
Hazelcast.Config
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic virtual ClientNetworkConfig SetSmartRouting(
bool smartRouting
)
Public Overridable Function SetSmartRouting (
smartRouting As Boolean
) As ClientNetworkConfig
public:
virtual ClientNetworkConfig^ SetSmartRouting(
bool smartRouting
)
abstract SetSmartRouting :
smartRouting : bool -> ClientNetworkConfig
override SetSmartRouting :
smartRouting : bool -> ClientNetworkConfig
Parameters
- smartRouting
- Type: SystemBoolean
true if smart routing should be enabled.
Return Value
Type:
ClientNetworkConfigClientNetworkConfig for chaining
See Also