You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2016/03/11 18:43:39 UTC

svn commit: r1734601 - in /uima/uima-as/trunk/uima-as-docbooks/src/docbook: async.errorhandling.xml ref.async.deployment.xml

Author: cwiklik
Date: Fri Mar 11 17:43:39 2016
New Revision: 1734601

URL: http://svn.apache.org/viewvc?rev=1734601&view=rev
Log:
UIMA-4828 updated documentation clarifying that timeout are supported for remote delegates only

Modified:
    uima/uima-as/trunk/uima-as-docbooks/src/docbook/async.errorhandling.xml
    uima/uima-as/trunk/uima-as-docbooks/src/docbook/ref.async.deployment.xml

Modified: uima/uima-as/trunk/uima-as-docbooks/src/docbook/async.errorhandling.xml
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uima-as-docbooks/src/docbook/async.errorhandling.xml?rev=1734601&r1=1734600&r2=1734601&view=diff
==============================================================================
--- uima/uima-as/trunk/uima-as-docbooks/src/docbook/async.errorhandling.xml (original)
+++ uima/uima-as/trunk/uima-as-docbooks/src/docbook/async.errorhandling.xml Fri Mar 11 17:43:39 2016
@@ -28,7 +28,7 @@ under the License.
     <title>Basic concepts</title>
     <para>This chapter describes error configuration for AS components.</para>
     <para>The AS framework manages a collection of component parts written by users (user code) which can throw
-      exceptions. In addition, the AS framework can run timers when sending commands to user code which can create
+      exceptions. In addition, the AS framework can run timers when sending commands to user code deployed in a remote service which can create
       timeouts.</para>
     <para>An AS component is either an AS aggregate or an AS primitive. AS aggregates can have multiple levels of
       aggregation; error configuration is done for each level of aggregation. The rest of this chapter focuses on the
@@ -43,7 +43,7 @@ under the License.
       <listitem>
         <para>error messages received from delegates.</para></listitem>
       <listitem>
-        <para>timeouts of commands sent to delegates.</para></listitem></orderedlist>
+        <para>timeouts of commands sent to remote delegates.</para></listitem></orderedlist>
     <para>The second and third class of errors is only possible for AS aggregates.</para>
     <para>When errors happen, the framework provides a standard set of configurable actions. See <xref
         linkend="ugr.async.eh.commands_allowed_actions"></xref> for a summary table of the actions available
@@ -187,7 +187,7 @@ under the License.
     <note><para>If the delegate is co-located, the
     aggregate and the delegate are actually sharing a common CAS object, so the
     aggregate has access to the CAS in this case.</para></note-->
-    <para>Every command sent to a delegate can have an associated (configurable) timeout. If the timeout occurs
+    <para>Every command sent to a remote delegate can have an associated (configurable) timeout. If the timeout occurs
       before the delegate responds, the framework creates an error representing the timeout.
       <note>
         <para>If, subsequently, a response is (finally) received corresponding to the command that had timed-out,
@@ -518,7 +518,7 @@ under the License.
   sent a request for some kind of processing and timed-out waiting for the
   response.</para>
   
-  <para>When timeout errors happen, the delegate may at some later time actually
+  <para>When timeout errors happen, the remote delegate may at some later time actually
   complete the request send the reply message, or it may send an exception error. In both
   cases, after a time out has occurred, these messages are discarded.</para>
   </listitem>

Modified: uima/uima-as/trunk/uima-as-docbooks/src/docbook/ref.async.deployment.xml
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uima-as-docbooks/src/docbook/ref.async.deployment.xml?rev=1734601&r1=1734600&r2=1734601&view=diff
==============================================================================
--- uima/uima-as/trunk/uima-as-docbooks/src/docbook/ref.async.deployment.xml (original)
+++ uima/uima-as/trunk/uima-as-docbooks/src/docbook/ref.async.deployment.xml Fri Mar 11 17:43:39 2016
@@ -547,8 +547,9 @@ under the License.
     if it determines it is failing too often.
     </para> - >
     
-    <para>Each Error Configuration can provide timeout limits for its delegate; these are used
-    when the containing aggregate sends CASes (work units) to be processed by the delegate.
+    <para>Each Error Configuration can provide timeout limits for its remote delegate; these are used
+    when the containing aggregate sends CASes (work units) to be processed by the delegate. Timeouts are
+    supported for remote delegates only.
     Timeouts inherit downward; a higher-level specification will be used for all contained 
     delegates and their delegates, recursively, for the parts managed by this Descriptor.
     Lower level Error Configurations can be used whenever needed; they override the upper
@@ -726,7 +727,7 @@ under the License.
     </para>
     </warning>
     
-    <para> The timeout attribute specifies the timeout values used when sending commands to the delegates. The units
+    <para> The timeout attribute specifies the timeout values used when sending commands to remote delegates. The units
       are milliseconds and a value of 0 has the special meaning of no timeout.</para>
     
     <para> The thresholdCount and thresholdWindow attributes specify the threshold at which the thresholdAction