EngineRunTaskPerformer

A Task Performer is similar to a Time-Based Workflow and Engine. It is defined in the dvce-app-config.xml. This file names the performer and identifies the class to execute when the task is found in the grid task table.

Unlike a Workflow - a separate listener is created for the performer.

Similar to a workflow – there is only one thread to complete the work required for the performer.

But similar to an engine – more than one task could be created.

The main advantage of a Task Performer is that it be created at any time with a minimum of configuration fuss. A UI may have a Rest call from a user clicking a button. The work for that button wants to be completed asynchronously. The Rest resource could save a task to the grid task table for the task performer.

The task performer will poll the grid task table, find the task, and execute the class. In a separate thread on a separate machine, the work can be completed.

For example, it may take ten minutes to calculate and save data. The UI will time out after three minutes. A task performer could be created to do the work.