Author: wglass
Date: Mon Mar 20 13:17:21 2006
New Revision: 387313
URL: http://svn.apache.org/viewcvs?rev=387313&view=rev
Log:
document new parser pool configuration option
Modified:
jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml
Modified: jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml
URL:
http://svn.apache.org/viewcvs/jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml?rev=387313&r1=387312&r2=387313&view=diff
==============================================================================
--- jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml (original)
+++ jakarta/velocity/engine/trunk/xdocs/docs/developer-guide.xml Mon Mar 20
13:17:21 2006
@@ -1713,12 +1713,19 @@
</p>
<p>
-<strong>Runtime Configuration</strong>
+<strong>Parser Configuration</strong>
+</p>
+<p>
+<code>parser.pool.class =
org.apache.velocity.runtime.ParserPoolImpl</code><br/>
+This property selects the implementation for the parser pool. This class
+must implement ParserPool. Generally there is no reason to change this though
+if you are building a high volume web application you might consider including
+an alternate implementation that automatically adjusts the size of the pool.
</p>
-
<p>
<code>parser.pool.size = 20</code><br/>
-This property sets the number of parser instances that Velocity will
+This property is used by the default pooling implementation to
+set the number of parser instances that Velocity will
create at startup and keep in a pool. The default of 20 parsers
should be more than enough for most uses. In the event that Velocity
does run out of parsers, it will indicate so in the log, and
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]