Search Results for

    Show / Hide Table of Contents
    View Source

    Class HealthCheckNotifier

    Hosted service implementation for recurring health check notifications.

    Inheritance
    System.Object
    RecurringHostedServiceBase
    Namespace: Umbraco.Cms.Infrastructure.HostedServices
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class HealthCheckNotifier : RecurringHostedServiceBase

    Constructors

    View Source

    HealthCheckNotifier(IOptionsMonitor<HealthChecksSettings>, HealthCheckCollection, HealthCheckNotificationMethodCollection, IRuntimeState, IServerRoleAccessor, IMainDom, ICoreScopeProvider, ILogger<HealthCheckNotifier>, IProfilingLogger, ICronTabParser)

    Initializes a new instance of the HealthCheckNotifier class.

    Declaration
    public HealthCheckNotifier(IOptionsMonitor<HealthChecksSettings> healthChecksSettings, HealthCheckCollection healthChecks, HealthCheckNotificationMethodCollection notifications, IRuntimeState runtimeState, IServerRoleAccessor serverRegistrar, IMainDom mainDom, ICoreScopeProvider scopeProvider, ILogger<HealthCheckNotifier> logger, IProfilingLogger profilingLogger, ICronTabParser cronTabParser)
    Parameters
    Type Name Description
    IOptionsMonitor<HealthChecksSettings> healthChecksSettings

    The configuration for health check settings.

    HealthCheckCollection healthChecks

    The collection of healthchecks.

    HealthCheckNotificationMethodCollection notifications

    The collection of healthcheck notification methods.

    IRuntimeState runtimeState

    Representation of the state of the Umbraco runtime.

    IServerRoleAccessor serverRegistrar

    Provider of server registrations to the distributed cache.

    IMainDom mainDom

    Representation of the main application domain.

    ICoreScopeProvider scopeProvider

    Provides scopes for database operations.

    ILogger<HealthCheckNotifier> logger

    The typed logger.

    IProfilingLogger profilingLogger

    The profiling logger.

    ICronTabParser cronTabParser

    Parser of crontab expressions.

    Methods

    View Source

    PerformExecuteAsync(Object)

    Declaration
    public override async Task PerformExecuteAsync(object state)
    Parameters
    Type Name Description
    System.Object state
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • HealthCheckNotifier(IOptionsMonitor<HealthChecksSettings>, HealthCheckCollection, HealthCheckNotificationMethodCollection, IRuntimeState, IServerRoleAccessor, IMainDom, ICoreScopeProvider, ILogger<HealthCheckNotifier>, IProfilingLogger, ICronTabParser)
    • Methods
      • PerformExecuteAsync(Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX