You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by dl...@apache.org on 2003/04/29 02:22:07 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime RuntimeConstants.java
dlr 2003/04/28 17:22:07
Modified: src/java/org/apache/velocity/runtime RuntimeConstants.java
Log:
* src/java/org/apache/velocity/runtime/RuntimeConstants.java
NUMBER_OF_PARSERS, NUMBER_OF_PARSERS: Improved JavaDoc.
Revision Changes Path
1.33 +8 -3 jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeConstants.java
Index: RuntimeConstants.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeConstants.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -u -r1.32 -r1.33
--- RuntimeConstants.java 21 Apr 2002 18:36:06 -0000 1.32
+++ RuntimeConstants.java 29 Apr 2003 00:22:07 -0000 1.33
@@ -389,10 +389,15 @@
"org/apache/velocity/runtime/defaults/directive.properties";
/**
- * Number of parsers to create
- */
+ * The default number of parser instances to create. Configurable
+ * via the parameter named by the {@link #PARSER_POOL_SIZE}
+ * constant.
+ */
final static int NUMBER_OF_PARSERS = 20;
+ /**
+ * @see #NUMBER_OF_PARSERS
+ */
final static String PARSER_POOL_SIZE = "parser.pool.size";
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org