The max-suspended-threads Element"

From Documentation
m (Created page with '{{ZKConfigurationReferencePageHeader}} =Version History= {{LastUpdated}} {| border='1px' | width="100%" ! Version !! Date !! Content |- |   |   |   |} {{ZKConfig…')
 
m
Line 1: Line 1:
 
{{ZKConfigurationReferencePageHeader}}
 
{{ZKConfigurationReferencePageHeader}}
 +
 +
'''Syntax:'''
 +
<max-suspended-threads>''a_number''</max-suspended-threads>
 +
 +
[Default: -1 ''(no limit)'']
 +
 +
It specifies the maximal allowed number of the suspended event processing threads. A negative value indicates there is no limit at all.
 +
 +
An instance of <javadoc>org.zkoss.zk.ui.SuspendNotAllowedException</javadoc> is thrown, if an event processing thread is going to suspend and the number of suspended threads exceeds the number specified here. You can use the <tt>error-page</tt> element to control how to display this error, or catch the exception and handle it in a different way.'
  
 
=Version History=
 
=Version History=

Revision as of 15:28, 4 December 2010


The max-suspended-threads Element


Syntax:

<max-suspended-threads>a_number</max-suspended-threads>
[Default: -1 (no limit)]

It specifies the maximal allowed number of the suspended event processing threads. A negative value indicates there is no limit at all.

An instance of SuspendNotAllowedException is thrown, if an event processing thread is going to suspend and the number of suspended threads exceeds the number specified here. You can use the error-page element to control how to display this error, or catch the exception and handle it in a different way.'

Version History

Last Update : 2010/12/04


Version Date Content
     



Last Update : 2010/12/04

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