From Web Computing Documentation
Jump to: navigation, search

class WorkExecutor

  • web2grid
    • web2grid.core

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