Search Results for

    Show / Hide Table of Contents
    View Source

    Class HealthCheckNotifierJob

    Hosted service implementation for recurring health check notifications.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.BackgroundJobs.Jobs
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class HealthCheckNotifierJob : IRecurringBackgroundJob

    Constructors

    View Source

    HealthCheckNotifierJob(IOptionsMonitor<HealthChecksSettings>, HealthCheckCollection, HealthCheckNotificationMethodCollection, ICoreScopeProvider, ILogger<HealthCheckNotifierJob>, IProfilingLogger, ICronTabParser, IEventAggregator)

    Initializes a new instance of the HealthCheckNotifierJob class.

    Declaration
    public HealthCheckNotifierJob(IOptionsMonitor<HealthChecksSettings> healthChecksSettings, HealthCheckCollection healthChecks, HealthCheckNotificationMethodCollection notifications, ICoreScopeProvider scopeProvider, ILogger<HealthCheckNotifierJob> logger, IProfilingLogger profilingLogger, ICronTabParser cronTabParser, IEventAggregator eventAggregator)
    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.

    ICoreScopeProvider scopeProvider

    Provides scopes for database operations.

    ILogger<HealthCheckNotifierJob> logger

    The typed logger.

    IProfilingLogger profilingLogger

    The profiling logger.

    ICronTabParser cronTabParser

    Parser of crontab expressions.

    IEventAggregator eventAggregator

    Properties

    View Source

    Delay

    Declaration
    public TimeSpan Delay { get; }
    Property Value
    Type Description
    TimeSpan
    View Source

    Period

    Declaration
    public TimeSpan Period { get; }
    Property Value
    Type Description
    TimeSpan

    Methods

    View Source

    RunJobAsync()

    Declaration
    public async Task RunJobAsync()
    Returns
    Type Description
    Task

    Events

    View Source

    PeriodChanged

    Declaration
    public event EventHandler PeriodChanged
    Event Type
    Type Description
    EventHandler
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • HealthCheckNotifierJob(IOptionsMonitor<HealthChecksSettings>, HealthCheckCollection, HealthCheckNotificationMethodCollection, ICoreScopeProvider, ILogger<HealthCheckNotifierJob>, IProfilingLogger, ICronTabParser, IEventAggregator)
    • Properties
      • Delay
      • Period
    • Methods
      • RunJobAsync()
    • Events
      • PeriodChanged
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX