WorkExecutor
From Web Computing Documentation
class WorkExecutor
- web2grid
- web2grid.core
- web2grid.core.work
- web2grid.core.work.WorkExecutor
- web2grid.core.work
- 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.
Public functions
new (context : WorkContext)
context The WorkContext object containing the job.
run () : AsyncResult<WorkContext>
Starts the autonmouos processing of the WorkContext.
terminate ()
Stops code execution of the WorkContext by immediately terminating its worker.