TaskProcessorTDirective Class |
Namespace: MFiles.VAF.AppTasks
public sealed class TaskProcessor<TDirective> : TaskProcessor where TDirective : TaskDirective
The TaskProcessorTDirective type exposes the following members.
Name | Description | |
---|---|---|
![]() | TaskProcessorTDirective |
Internal constructor to prevent extending.
It is meant to only be extended by the generic version of the class.
|
Name | Description | |
---|---|---|
![]() | Handler |
The method to process the tasks with.
|
![]() | MaxRequeues |
The maximum number of times a task can fail and be requeued, before failing permanently.
(Inherited from TaskProcessor.) |
![]() | MaxRetries |
The maximum number of times the processing of a task can be retried within a single job/attempt.
(Inherited from TaskProcessor.) |
![]() | ProgressUpdateInterval |
The frequency at which an in-progress task's progress is updated to the vault.
(Inherited from TaskProcessor.) |
![]() | RequeueDelay |
The time from the failure of a task before its requeued task may be activated.
(Inherited from TaskProcessor.) |
![]() | RestoreToWaitingTimeoutInMinutes |
The number of minutes that must pass without an update on an in-progress task,
before it can be restored to the waiting state.
(Inherited from TaskProcessor.) |
![]() | TransactionMode |
The transaction mode used by the processor.
(Inherited from TaskProcessor.) |
![]() | Type |
The type of task that can be processed.
(Inherited from Processor.) |
Name | Description | |
---|---|---|
![]() | GetDirectiveType |
Returns the type of directive used by the processor's tasks.
(Overrides ProcessorGetDirectiveType.) |
![]() | GetSettings |
Gets a copy of the processor's settings.
(Inherited from TaskProcessor.) |
![]() | GetTaskInfo |
Creates a friendly version of the task,
with data and progress parsed to the directive and status,
fully serializable with DateTime values instead of timestamps.
|
![]() | ParseDirective |
Parses a task's directive.
|
![]() | ResolveExceptionBehavior |
Resolves the defined behavior for a specific exception.
(Inherited from TaskProcessor.) |
![]() | UpdateSettings |
Updates the processor's settings.
(Inherited from TaskProcessor.) |