Search Results for

    Show / Hide Table of Contents
    View Source

    Class InstructionProcessJob

    Implements periodic database instruction processing as a hosted service.

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

    Constructors

    View Source

    InstructionProcessJob(IServerMessenger, ILogger<InstructionProcessJob>, IOptions<GlobalSettings>)

    Initializes a new instance of the InstructionProcessJob class.

    Declaration
    public InstructionProcessJob(IServerMessenger messenger, ILogger<InstructionProcessJob> logger, IOptions<GlobalSettings> globalSettings)
    Parameters
    Type Name Description
    IServerMessenger messenger

    Service broadcasting cache notifications to registered servers.

    ILogger<InstructionProcessJob> logger

    The typed logger.

    IOptions<GlobalSettings> globalSettings

    The configuration for global settings.

    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
    View Source

    ServerRoles

    Declaration
    public ServerRole[] ServerRoles { get; }
    Property Value
    Type Description
    ServerRole[]

    Methods

    View Source

    RunJobAsync()

    Declaration
    public 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
      • InstructionProcessJob(IServerMessenger, ILogger<InstructionProcessJob>, IOptions<GlobalSettings>)
    • Properties
      • Delay
      • Period
      • ServerRoles
    • Methods
      • RunJobAsync()
    • Events
      • PeriodChanged
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX