Normally The stop job will not complete until the job it is stopping is in a stopped state, however if the stop job is attempting tos stop a parent of itself (and therefore itself) then this stop job will detect this and stop. It will therefore complete even if thing it is trying to stop hasn't fully stopped.
executorService | |
job | Job to stop |
name | A name, can be any text. |
stop | This flag is set by the stop method and should be examined by any Stoppable jobs in their processing loops. |
Example 1 | Examples elsewhere. |
Configured By | ELEMENT |
Access | WRITE_ONLY |
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | Yes. |
Job to stop
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
A name, can be any text.
Access | READ_ONLY |
Required | Read Only. |
This flag is set by the stop method and should be examined by any Stoppable jobs in their processing loops.
Examples elsewhere.