Updated Branches:
  refs/heads/master eb870cc94 -> 31a0648db
  refs/heads/ode-1.3.6.x f82a7be50 -> 3f05e69fb


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/31a0648d
Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/31a0648d
Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/31a0648d

Branch: refs/heads/master
Commit: 31a0648db49e698d53ab71a95e42d80221a24c5d
Parents: eb870cc
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:43:44 2013 +0200

----------------------------------------------------------------------
 .../org/apache/ode/bpel/iapi/Scheduler.java     | 36 ++++++++++++++++++++
 1 file changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ode/blob/31a0648d/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 a6fc08d..d9374f5 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,12 +171,48 @@ 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,
+        
+        /**
+         * is used to avoid the race condition when a message has been 
correlated but 
+         * no process instance is able to process it and the route has been 
added 
+         * meanwhile. It just retries the correlation.
+         */
         MEX_MATCHER
     }
 

Reply via email to