Author: ron.sigal(a)jboss.com
Date: 2011-03-22 15:42:23 -0400 (Tue, 22 Mar 2011)
New Revision: 6296
Modified:
remoting2/branches/2.x/docs/guide/en/chap5.xml
Log:
JBREM-1277: Added discussion about "acceptThreadPriorityIncrement".
Modified: remoting2/branches/2.x/docs/guide/en/chap5.xml
===================================================================
--- remoting2/branches/2.x/docs/guide/en/chap5.xml 2011-03-22 19:12:42 UTC (rev 6295)
+++ remoting2/branches/2.x/docs/guide/en/chap5.xml 2011-03-22 19:42:23 UTC (rev 6296)
@@ -1637,6 +1637,15 @@
all <classname>ServerThread</classname>s are shut down immediately,
even if they are processing an invocation.</para>
+ <para><emphasis
role="bold">acceptThreadPriorityIncrement</emphasis> - can
+ be used to increment the priority of the accept thread, which manages the
+ <classname>ServerSocket</classname>. The value is added to
+ <code>java.lang.Thread.NORM_PRIORITY</code>, and the resulting
value must be
+ no more than <code>java.lang.Thread.MAX_PRIORITY</code>. This
parameter might
+ be useful on a heavily loaded machine if the accept
+ thread is getting starved.
+ </para>
+
<bridgehead>Configurations affecting the Socket invoker
client</bridgehead>
@@ -2471,6 +2480,16 @@
secondary <classname>ServerSocket</classname>s in a multihome
server.</para>
+ <para>Also, the parameter "acceptThreadPriorityIncrement",
inherited from
+
<classname>org.jboss.remoting.transport.socket.SocketServerInvoker</classname>,
can
+ be used to increment the priority of the thread that manages the secondary
+ <classname>ServerSocket</classname>. The value is added to
+ <code>java.lang.Thread.NORM_PRIORITY</code>, and the resulting
value must be
+ no more than <code>java.lang.Thread.MAX_PRIORITY</code>. This
parameter might
+ be useful on a heavily loaded machine if the secondary
<classname>ServerSocket</classname>
+ thread is getting starved.
+ </para>
+
</section>
<section>
@@ -6822,11 +6841,20 @@
<para><emphasis role="bold">Bean properties (meaning have
getter/setter):</emphasis></para>
+ <para><emphasis
role="bold">acceptThreadPriorityIncrement</emphasis> - can
+ be used to increment the priority of the accept thread, which manages the
+ <classname>ServerSocket</classname>. The value is added to
+ <code>java.lang.Thread.NORM_PRIORITY</code>, and the resulting value
must be
+ no more than <code>java.lang.Thread.MAX_PRIORITY</code>. This
parameter might
+ be useful on a heavily loaded machine if the accept
+ thread is getting starved.
+ </para>
+
<para><emphasis role="bold">ImmediateShutdown</emphasis>
- a flag for indicating
that <classname>SocketServerInvoker</classname> should shut down all of
its
<classname>ServerThreads</classname> immediately instead of waiting for
any
current invocations to finish.</para>
-
+
</section>
<section>