WorkSource
From Web Computing Documentation
(Difference between revisions)
(→Public functions) |
|||
Line 20: | Line 20: | ||
Returns an array of the [[WorkUnit]]s contained by the [[WorkSource]]. |
Returns an array of the [[WorkUnit]]s contained by the [[WorkSource]]. |
||
+ | |||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''start''' () |
||
+ | </div> |
||
+ | |||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''terminate''' () |
||
+ | </div> |
||
+ | |||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''operate''' () |
||
+ | </div> |
||
+ | |||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''getNumActive''' () : Int |
||
+ | </div> |
||
+ | |||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''startOne''' () |
||
+ | </div> |
||
+ | |||
+ | |||
+ | <div class="class_function_definition"> |
||
+ | '''terminateOne''' () |
||
+ | </div> |
Revision as of 14:17, 11 August 2011
interface WorkSource implements Operable, implements LogSource, implements Persistent
- web2grid
- web2grid.core
- web2grid.core.iface
- web2grid.core.iface.WorkSource
- web2grid.core.iface
- web2grid.core
Interface overview
Implementing the WorkSource interface enables the class to be handled by the WorkSourcePool.
Public functions
getWorkUnits () : Array<WorkUnit>
Returns an array of the WorkUnits contained by the WorkSource.
start ()
terminate ()
operate ()
getNumActive () : Int
startOne ()
terminateOne ()