WorkExecutor

From Web Computing Documentation
Revision as of 18:37, 15 August 2011 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

class WorkExecutor

  • web2grid
    • web2grid.core
      • web2grid.core.work
        • web2grid.core.work.WorkExecutor

Class overview

WorkContext objects hold jobs including the executable code, input and output data and the current state of the job. The WorkExecutor class handles these WorkContext objects supervising their execution on a separate thread.

Public functions

new (context : WorkContext)

context The WorkContext object containing the job.

Starts the autonmouos processing of the WorkContext.

terminate ()

Stops code execution of the WorkContext by immediately terminating its worker.

Personal tools
Modules