some job type documentation added.
Project: http://git-wip-us.apache.org/repos/asf/ode/repo Commit: http://git-wip-us.apache.org/repos/asf/ode/commit/3f05e69f Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/3f05e69f Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/3f05e69f Branch: refs/heads/ode-1.3.6.x Commit: 3f05e69fb5e8f1fd902ad70c0820acec82e59b57 Parents: f82a7be Author: Tammo van Lessen <[email protected]> Authored: Thu Jul 25 16:23:07 2013 +0200 Committer: Tammo van Lessen <[email protected]> Committed: Thu Jul 25 17:49:54 2013 +0200 ---------------------------------------------------------------------- .../org/apache/ode/bpel/iapi/Scheduler.java | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ode/blob/3f05e69f/bpel-api/src/main/java/org/apache/ode/bpel/iapi/Scheduler.java ---------------------------------------------------------------------- diff --git a/bpel-api/src/main/java/org/apache/ode/bpel/iapi/Scheduler.java b/bpel-api/src/main/java/org/apache/ode/bpel/iapi/Scheduler.java index a40aba8..c900c89 100644 --- a/bpel-api/src/main/java/org/apache/ode/bpel/iapi/Scheduler.java +++ b/bpel-api/src/main/java/org/apache/ode/bpel/iapi/Scheduler.java @@ -171,11 +171,41 @@ public interface Scheduler { } public enum JobType { + /** + * is used for scheduled timer tasks like in pick's/evenhandler's onAlarm. + */ TIMER, + /** + * is used for resuming process instances if the time slice has been exeeded + * or when the debugger lets the process instance resume. + */ RESUME, + + /** + * is used to let the runtime process an incoming message after it has been + * received and stored by the IL. It will try to correlate the message if + * a route to an IMA can be found. + */ INVOKE_INTERNAL, + + /** + * is used when the response from a two-way invocation comes back and shall be + * passed to the runtime. + */ INVOKE_RESPONSE, + + /** + * is used to schedule the matchmaking after adding a route to the correlator, i.e. + * if a IMA is now waiting for a message. If the message is already in the queue, + * this matcher job will find it. + */ MATCHER, + + /** + * is used to check for failed partner invocations. It runs after a defined time + * out, checks whether a response has arrived and if not, it marks the MEX as + * faulted. + */ INVOKE_CHECK }
