Click or drag to resize

TaskProcessorTDirective Class

Processor for handling certain types of application tasks.
Inheritance Hierarchy
SystemObject
  MFiles.VAF.AppTasksProcessor
    MFiles.VAF.AppTasksTaskProcessor
      MFiles.VAF.AppTasksTaskProcessorTDirective

Namespace:  MFiles.VAF.AppTasks
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntax
public sealed class TaskProcessor<TDirective> : TaskProcessor
where TDirective : TaskDirective

Type Parameters

TDirective
The type of directive used by the application tasks that can be processed.

The TaskProcessorTDirective type exposes the following members.

Constructors
  NameDescription
Public methodTaskProcessorTDirective
Internal constructor to prevent extending. It is meant to only be extended by the generic version of the class.
Top
Properties
  NameDescription
Public propertyHandler
The method to process the tasks with.
Public propertyMaxRequeues
The maximum number of times a task can fail and be requeued, before failing permanently.
(Inherited from TaskProcessor.)
Public propertyMaxRetries
The maximum number of times the processing of a task can be retried within a single job/attempt.
(Inherited from TaskProcessor.)
Public propertyProgressUpdateInterval
The frequency at which an in-progress task's progress is updated to the vault.
(Inherited from TaskProcessor.)
Public propertyRequeueDelay
The time from the failure of a task before its requeued task may be activated.
(Inherited from TaskProcessor.)
Public propertyRestoreToWaitingTimeoutInMinutes
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.)
Public propertyTransactionMode
The transaction mode used by the processor.
(Inherited from TaskProcessor.)
Public propertyType
The type of task that can be processed.
(Inherited from Processor.)
Top
Methods
  NameDescription
Public methodGetDirectiveType
Returns the type of directive used by the processor's tasks.
(Overrides ProcessorGetDirectiveType.)
Public methodGetSettings
Gets a copy of the processor's settings.
(Inherited from TaskProcessor.)
Public methodGetTaskInfo
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.
Public methodParseDirective
Parses a task's directive.
Public methodResolveExceptionBehavior
Resolves the defined behavior for a specific exception.
(Inherited from TaskProcessor.)
Public methodUpdateSettings
Updates the processor's settings.
(Inherited from TaskProcessor.)
Top
See Also