The max-spare-threads Element"

From Documentation
m
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
  [Default: 100]
 
  [Default: 100]
  
It specifies the maximal allowed number of the thread pool for queuing the idle event processing threads. ZK will reuse the idle event processing threads by keeping them in a thread pool. The number specified here then controls the maximal size of the pool.  
+
It specifies the maximum allowed number of the thread pool for queuing the idle event processing threads. ZK will reuse the idle event processing threads by keeping them in a thread pool. The number specified here then controls the maximum size of the pool.  
  
A negative value indicates there is no limit. Zero means no pool at all.
+
A negative value indicates that there is no limit. Zero means no pool at all.
 +
 
 +
Notice this option is applicable only if the event processing thread is enabled (it is disabled by default). Please refer to [[ZK Configuration Reference/zk.xml/The system-config Element/The disable-event-thread Element|the disable-event-thread element]] for details.
  
 
=Version History=
 
=Version History=

Latest revision as of 10:10, 8 August 2011


The max-spare-threads Element


Syntax:

<max-spare-threads>a_number</max-spare-threads>
[Default: 100]

It specifies the maximum allowed number of the thread pool for queuing the idle event processing threads. ZK will reuse the idle event processing threads by keeping them in a thread pool. The number specified here then controls the maximum size of the pool.

A negative value indicates that there is no limit. Zero means no pool at all.

Notice this option is applicable only if the event processing thread is enabled (it is disabled by default). Please refer to the disable-event-thread element for details.

Version History

Last Update : 2011/08/08


Version Date Content
     



Last Update : 2011/08/08

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.