Wait for Subjobs (Aspire 2)

From wiki.searchtechnologies.com
Jump to: navigation, search

For Information on Aspire 3.1 Click Here


Wait for Subjobs (Aspire 2)
Factory Name  com.searchtechnologies.aspire:aspire-tools
subType  waitForSubJobs
Inputs  A parent job.
Outputs  Does not change the job. Merely causes execution of the job to pause.

The WaitForSubJobs stage causes the thread which is processing the (parent) job to suspend until all of the sub-jobs created from the job are complete. If the job is not a parent job and has no sub-jobs, then this stage does nothing.

Configuration

Element Type Default Description
timeout int 600000
(10 minutes)
Maximum time to wait (in ms) for all subjobs to be complete.

Example Configurations

Simple

<component name="WaitForSubJobs" subType="waitForSubJobs" factoryName="aspire-tools"/>

Complex

<component name="WaitForSubJobs" subType="waitForSubJobs" factoryName="aspire-tools">
  <timeout>3600000</timeout>
</component>