- fix typos in InputURLRewriteRegExp* .

- add documentation for MinQuorum, TargetNResults, 
   MaxErrorResults and MaxTotalResults.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2529 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
atisu 2011-10-28 12:36:57 +00:00 committed by Adam Visegradi
parent fb918d73e0
commit 821e29d001
1 changed files with 96 additions and 2 deletions

View File

@ -99,7 +99,7 @@
variable <literal>InputURLRewriteRegExpMatch</literal> defines the match part of the variable <literal>InputURLRewriteRegExpMatch</literal> defines the match part of the
regular expression, whereas the varibale <literal>InputURLRewriteRegExpReplace</literal> regular expression, whereas the varibale <literal>InputURLRewriteRegExpReplace</literal>
defines the replacement part of the regular expression. An example value of this variable defines the replacement part of the regular expression. An example value of this variable
is <lireral>attic://([^/]*).*/([^/]*)$</literal>. is <literal>attic://([^/]*).*/([^/]*)$</literal>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -112,7 +112,7 @@
variable <literal>InputURLRewriteRegExpReplace</literal> defines the replace part of the variable <literal>InputURLRewriteRegExpReplace</literal> defines the replace part of the
regular expression, whereas the varibale <literal>InputURLRewriteRegExpMatch</literal> regular expression, whereas the varibale <literal>InputURLRewriteRegExpMatch</literal>
defines the match part of the regular expression. An example value of this variable defines the match part of the regular expression. An example value of this variable
is <lireral>http://\1/dl/redir/\2\nhttp://localhost:12345/data/\2</literal>. is <literal>http://\1/dl/redir/\2\nhttp://localhost:12345/data/\2</literal>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -165,11 +165,105 @@
When the redundancy is greater than 1, the work unit can not When the redundancy is greater than 1, the work unit can not
be suspended using <function><link be suspended using <function><link
linkend="DC-suspendWU">DC_suspendWU()</link></function>. linkend="DC-suspendWU">DC_suspendWU()</link></function>.
In the following the options are listed which allow fine tuning
redundancy. These options are mutually exclusive with <function><link
linkend="DC-API-Boinc-Redundancy">Redundancy</link></function>.
</para> </para>
</note> </note>
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>MinQuorum</term>
<listitem>
<para>
OPTIONAL. Integer value specifying the quorum required to consider
the work unit as valid. The default value is 1.
</para>
<note>
<para>
This option is mutually exclusive with <function><link
linkend="DC-API-Boinc-Redundancy">Redundancy</link></function>.
<literal>MinQuorum</literal>, <literal>TargetNResults</literal>,
<literal>MaxErrorResults</literal> and <literal>MaxTotalResults</literal>
should be used combined.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry>
<term>TargetNResults</term>
<listitem>
<para>
OPTIONAL. Integer value specifying the number of initial BOINC results to be
created. The default value is <literal>MinQuorum</literal>.
</para>
<note>
<para>
This option is mutually exclusive with <function><link
linkend="DC-API-Boinc-Redundancy">Redundancy</link></function>.
<literal>MinQuorum</literal>, <literal>TargetNResults</literal>,
<literal>MaxErrorResults</literal> and <literal>MaxTotalResults</literal>
should be used combined.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry>
<term>MaxErrorResults</term>
<listitem>
<para>
OPTIONAL. Integer value specifying the maximum number of failed BOINC results
for a work unit. The default value is 0.
</para>
<note>
<para>
This option is mutually exclusive with <function><link
linkend="DC-API-Boinc-Redundancy">Redundancy</link></function>.
<literal>MinQuorum</literal>, <literal>TargetNResults</literal>,
<literal>MaxErrorResults</literal> and <literal>MaxTotalResults</literal>
should be used combined.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry>
<term>MaxTotalResults</term>
<listitem>
<para>
OPTIONAL. Integer value specifying the total number of BOINC results for a
work unit. The default value is <literal>MinQuorum</literal>.
</para>
<note>
<para>
This option is mutually exclusive with <function><link
linkend="DC-API-Boinc-Redundancy">Redundancy</link></function>.
<literal>MinQuorum</literal>, <literal>TargetNResults</literal>,
<literal>MaxErrorResults</literal> and <literal>MaxTotalResults</literal>
should be used combined.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry>
<term>MaxSuccessResults</term>
<listitem>
<para>
OPTIONAL. Integer value specifying the maximum number of successful BOINC results
for a work unit. The default value is <literal>MinQuorum</literal>.
</para>
<note>
<para>
This option is mutually exclusive with <function><link
linkend="DC-API-Boinc-Redundancy">Redundancy</link></function>.
<literal>MinQuorum</literal>, <literal>TargetNResults</literal>,
<literal>MaxErrorResults</literal> and <literal>MaxTotalResults</literal>
should be used combined.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term>MaxOutputSize</term> <term>MaxOutputSize</term>
<listitem> <listitem>