Search Results for

    Show / Hide Table of Contents
    View Source

    Class KeepAlive

    Hosted service implementation for keep alive feature.

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

    Constructors

    View Source

    KeepAlive(IHostingEnvironment, IMainDom, IOptionsMonitor<KeepAliveSettings>, ILogger<KeepAlive>, IProfilingLogger, IServerRoleAccessor, IHttpClientFactory)

    Initializes a new instance of the KeepAlive class.

    Declaration
    public KeepAlive(IHostingEnvironment hostingEnvironment, IMainDom mainDom, IOptionsMonitor<KeepAliveSettings> keepAliveSettings, ILogger<KeepAlive> logger, IProfilingLogger profilingLogger, IServerRoleAccessor serverRegistrar, IHttpClientFactory httpClientFactory)
    Parameters
    Type Name Description
    IHostingEnvironment hostingEnvironment

    The current hosting environment

    IMainDom mainDom

    Representation of the main application domain.

    IOptionsMonitor<KeepAliveSettings> keepAliveSettings

    The configuration for keep alive settings.

    ILogger<KeepAlive> logger

    The typed logger.

    IProfilingLogger profilingLogger

    The profiling logger.

    IServerRoleAccessor serverRegistrar

    Provider of server registrations to the distributed cache.

    IHttpClientFactory httpClientFactory

    Factory for instances.

    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
      • KeepAlive(IHostingEnvironment, IMainDom, IOptionsMonitor<KeepAliveSettings>, ILogger<KeepAlive>, IProfilingLogger, IServerRoleAccessor, IHttpClientFactory)
    • Methods
      • PerformExecuteAsync(Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX