Пример #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;
 }
Пример #3
0
 public ClusterConfig(
     Cluster cluster,
     ClusterHealthCheckOptions healthCheckOptions,
     string loadBalancingPolicy,
     ClusterSessionAffinityOptions sessionAffinityOptions,
     HttpMessageInvoker httpClient,
     ClusterProxyHttpClientOptions httpClientOptions,
     RequestProxyOptions httpRequestOptions,
     IReadOnlyDictionary <string, string> metadata)
 {
     Cluster                = cluster;
     HealthCheckOptions     = healthCheckOptions;
     LoadBalancingPolicy    = loadBalancingPolicy;
     SessionAffinityOptions = sessionAffinityOptions;
     HttpClient             = httpClient;
     HttpClientOptions      = httpClientOptions;
     HttpRequestOptions     = httpRequestOptions;
     Metadata               = metadata;
 }