public SlowResponseAlerter(int samplePeriodMilliseconds, IAlertStrategy alertStrategy, string serviceName, TimeSpan slowResponseThreshold) : base(samplePeriodMilliseconds, alertStrategy) { _serviceName = serviceName; _slowResponseThreshold = slowResponseThreshold; }
public Non200ResponseAlerter(int samplePeriodMilliseconds, IAlertStrategy alertStrategy, string serviceName) : base(samplePeriodMilliseconds, alertStrategy) { _serviceName = serviceName; }
protected SamplingAlerter(int samplePeriodMilliseconds, IAlertStrategy alertStrategy) : base(samplePeriodMilliseconds) { _alertStrategy = alertStrategy; }
public void SetStrategy(IAlertStrategy strategy) { _strategy = strategy; }