Class QarnotDnsLoadBalancerHandlerFactory
QarnotDnsLoadBalancerHandlerFactory class Factory of the DnsServiceBalancingMessageHandler.
Inherited Members
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public class QarnotDnsLoadBalancerHandlerFactory
Constructors
QarnotDnsLoadBalancerHandlerFactory(Uri, uint?, ILogger)
QarnotDnsLoadBalancerHandlerFactory constructor.
Declaration
public QarnotDnsLoadBalancerHandlerFactory(Uri uri, uint? cacheTime = 5, ILogger logger = null)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | Uri to be call. |
uint? | cacheTime | Quarantine cache time. |
ILogger | logger | Logger if needed. |
Properties
DNS_LOAD_BALANCING_CACHE_TIME
The QARNOT_SDK_CSHARP_DNS_LOAD_BALANCING_CACHE_TIME env variable. If it is set and represent a positive number, it represent the Dns load balancer cache time "null" retpresent a null object and a number represent the cache time.
Declaration
public string DNS_LOAD_BALANCING_CACHE_TIME { get; }
Property Value
Type | Description |
---|---|
string | DNS_LOAD_BALANCING_CACHE_TIME env variable string |
DnsBalancingMessageHandler
Builder of the Qarnot DnsSrvHandler.
Declaration
public DelegatingHandler DnsBalancingMessageHandler { get; }
Property Value
Type | Description |
---|---|
DelegatingHandler | A new DnsSrvHandler. |
ENABLE_DNS_LOAD_BALANCING
The QARNOT_SDK_CSHARP_ENABLE_DNS_LOAD_BALANCING env variable. "true" enable the DNS load balancer.
Declaration
public string ENABLE_DNS_LOAD_BALANCING { get; }
Property Value
Type | Description |
---|---|
string | ENABLE_DNS_LOAD_BALANCING env variable string |