check()
method which starts with the whole check procedure. Mostly this {@link ProcessCheckTask#check()} is calledby the {@link Runnable#run()} method.If the process failure checks really fail, then it executes the process actions. These actions should be executed in sequence to prevent concurrency issues with the process. Because if the run/check method has finished the Spring Scheduler will start again a new scheduled task which will again executes these actions. That's why its important to make sure that all operations are finished before a new Scheduler task execution.
A {@link ProcessCheckTask} instance should also make sure that it starts theProcessFailurePattern checks, but also stops them again nicely. The ProcessFailurePattern objects may be got by {@link Process#getFailurePatternList()}. @author oliver.burkhalter @see {@link Process}, {@link ProcessFailurePattern}
|
|
|
|