WorkExecutor

From Web Computing Documentation
(Difference between revisions)
Jump to: navigation, search
(Public functions)
(Class overview)
 
Line 10: Line 10:
 
==Class overview==
 
==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.
+
[[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==
 
==Public functions==

Latest revision as of 18:37, 15 August 2011

class WorkExecutor

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

[edit] 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.

[edit] 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