예제 #1
0
 public ClusterConfig(
     ClusterHealthCheckOptions healthCheckOptions,
     ClusterLoadBalancingOptions loadBalancingOptions,
     ClusterSessionAffinityOptions sessionAffinityOptions)
 {
     HealthCheckOptions     = healthCheckOptions;
     LoadBalancingOptions   = loadBalancingOptions;
     SessionAffinityOptions = sessionAffinityOptions;
 }
예제 #2
0
 public ClusterConfig(
     ClusterHealthCheckOptions healthCheckOptions,
     ClusterLoadBalancingOptions loadBalancingOptions,
     ClusterSessionAffinityOptions sessionAffinityOptions,
     HttpMessageInvoker httpClient,
     ClusterProxyHttpClientOptions httpClientOptions,
     IReadOnlyDictionary <string, string> metadata)
 {
     HealthCheckOptions     = healthCheckOptions;
     LoadBalancingOptions   = loadBalancingOptions;
     SessionAffinityOptions = sessionAffinityOptions;
     HttpClient             = httpClient;
     HttpClientOptions      = httpClientOptions;
     Metadata = metadata;
 }