Class InstructionProcessTask
Implements periodic database instruction processing as a hosted service.
Namespace: Umbraco.Cms.Infrastructure.HostedServices.ServerRegistration
Assembly: Umbraco.Infrastructure.dll
Syntax
public class InstructionProcessTask : RecurringHostedServiceBase
Constructors
View SourceInstructionProcessTask(IRuntimeState, IServerMessenger, ILogger<InstructionProcessTask>, IOptions<GlobalSettings>)
Initializes a new instance of the InstructionProcessTask class.
Declaration
public InstructionProcessTask(IRuntimeState runtimeState, IServerMessenger messenger, ILogger<InstructionProcessTask> logger, IOptions<GlobalSettings> globalSettings)
Parameters
Type | Name | Description |
---|---|---|
IRuntimeState | runtimeState | Representation of the state of the Umbraco runtime. |
IServerMessenger | messenger | Service broadcasting cache notifications to registered servers. |
ILogger<InstructionProcessTask> | logger | The typed logger. |
IOptions<GlobalSettings> | globalSettings | The configuration for global settings. |
Methods
View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
PerformExecuteAsync(Object)
Declaration
public override Task PerformExecuteAsync(object state)
Parameters
Type | Name | Description |
---|---|---|
System.Object | state |
Returns
Type | Description |
---|---|
Task |