public NetworkHealthChecker(IHealthyStore healthyStore,
                             INetworkSnapshotManager snapshotManager,
                             IOptions <HealthCheckSettings> healthCheckSettingsOptionsAccessor)
 {
     _healthyStore    = healthyStore;
     _snapshotManager = snapshotManager;
     _networkSettings = healthCheckSettingsOptionsAccessor.Value.Network;
 }
Beispiel #2
0
 public NginxRequestHealthChecker(IHttpClientFactory httpClientFactory,
                                  IHealthyStore healthyStore,
                                  IOptions <HealthCheckSettings> healthCheckSettingsOptionsAccessor)
 {
     _httpClientFactory = httpClientFactory;
     _healthyStore      = healthyStore;
     _settings          = healthCheckSettingsOptionsAccessor.Value.NginxRequest;
 }
 public MemoryHealthChecker(IHealthyStore healthyStore,
                            IMemorySnapshotManager snapshotManager,
                            IOptions <HealthCheckSettings> healthCheckSettingsOptionsAccessor)
 {
     _snapshotManager = snapshotManager;
     _memorySettings  = healthCheckSettingsOptionsAccessor.Value.Memory;
     _healthyStore    = healthyStore;
 }
Beispiel #4
0
 public ProcessorHealthChecker(IHealthyStore healthyStore,
                               IProcessorSnapshotManager snapshotManager,
                               IOptions <HealthCheckSettings> healthCheckSettingsOptionsAccessor)
 {
     _healthyStore      = healthyStore;
     _snapshotManager   = snapshotManager;
     _processorSettings = healthCheckSettingsOptionsAccessor.Value.Processor;
 }
 public NginxHealthChecker(IHealthyStore healthyStore,
                           IOptions <HealthCheckSettings> healthCheckSettingsOptionsAccessor)
 {
     _healthyStore  = healthyStore;
     _nginxSettings = healthCheckSettingsOptionsAccessor.Value.Nginx;
 }