You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2013/07/25 17:50:20 UTC

[1/2] git commit: some job type documentation added.

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 <tv...@gmail.com>
Authored: Thu Jul 25 16:23:07 2013 +0200
Committer: Tammo van Lessen <tv...@gmail.com>
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
     }
 


[2/2] git commit: some job type documentation added.

Posted by va...@apache.org.
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 <tv...@gmail.com>
Authored: Thu Jul 25 16:23:07 2013 +0200
Committer: Tammo van Lessen <tv...@gmail.com>
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
     }