[Index]

grab


Grab work to do. By competing for work with other Grabbers this job facilitates distribution of work between multiple Oddjob processes.


Property Summary

identifier This job's identifier which is unique to the Oddjob process, such as server name.
instance The instance of identifier for a single grab.
job The child job.
keeper The keeper of work from which this job attempts to grab work.
name A name, can be any text.
onLoosing The action on loosing.
winner The identifier of the winner.

Example Summary

Example 1 See the user guide.

Property Detail

identifier

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredYes.

This job's identifier which is unique to the Oddjob process, such as server name.

instance

Configured ByELEMENT
AccessREAD_WRITE
RequiredYes.

The instance of identifier for a single grab. This is an identifier for each run of the grab jobb and will be something like the scheduled date/time.

job

Configured ByELEMENT
AccessWRITE_ONLY
RequiredNo, but pointless if missing.

The child job.

keeper

Configured ByELEMENT
AccessWRITE_ONLY
RequiredYes.

The keeper of work from which this job attempts to grab work.

name

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo.

A name, can be any text.

onLoosing

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo, Defaults to COMPLETE.

The action on loosing. Available actions are:

COMPLETE
Set the job state to COMPLETE.
INCOMPLETE
Set the job state to INCOMPLETE.
WAIT
Wait until the job completes.

winner

AccessREAD_ONLY
RequiredR/O.

The identifier of the winner. Will be equal to this jobs identifier if this job has won.


Examples

Example 1

See the user guide.


(c) Rob Gordon 2005 - 2014