Interface IHealthCheckPublisherRegistry
- Namespace
- Acuit.Pinpoint.HealthChecks
- Assembly
- Acuit.Pinpoint.HealthChecks.Abstractions.dll
A registry of health check publishers.
public interface IHealthCheckPublisherRegistry
Methods
RegisterHealthCheckPublisher(IHealthCheckPublisher)
Registers a health check publisher.
IDisposable RegisterHealthCheckPublisher(IHealthCheckPublisher healthCheckPublisher)
Parameters
healthCheckPublisherIHealthCheckPublisherThe health check publisher.
Returns
- IDisposable
A IDisposable that can be used to remove the registration.
Remarks
Health check reports will be published from a thread pool thread.
Exceptions
- ArgumentNullException
healthCheckPublisheris null.