You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Gets a server that would be used for a given key and flags.
218
+
/// </summary>
219
+
/// <param name="key">The endpoint to get a server for. In a non-cluster environment, this parameter is ignored. A <see langword="default"/> key may be specified
220
+
/// on cluster, which will return a connection to an arbitrary server matching the specified flags.</param>
221
+
/// <param name="asyncState">The async state to pass to the created <see cref="IServer"/>.</param>
222
+
/// <param name="flags">The command flags to use.</param>
223
+
/// <remarks>This method is particularly useful when communicating with a cluster environment, to obtain a connection to the server that owns the specified key
224
+
/// and ad-hoc commands with unusual routing requirements. Note that <see cref="GetDatabase"/> provides a connection that automatically routes commands by
225
+
/// looking for <see cref="RedisKey"/> parameters, so this method is only necessary when used with commands that do not take a <see cref="RedisKey"/> parameter,
226
+
/// but require consistent routing using key-like semantics.</remarks>
0 commit comments