geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r558521 - /geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeConfig.java
Date Sun, 22 Jul 2007 18:23:30 GMT
Author: hogstrom
Date: Sun Jul 22 11:23:29 2007
New Revision: 558521

URL: http://svn.apache.org/viewvc?view=rev&rev=558521
Log:
Added comments in TradeConfig for the meaning of marketSummaryInterval.

Modified:
    geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeConfig.java

Modified: geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeConfig.java
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeConfig.java?view=diff&rev=558521&r1=558520&r2=558521
==============================================================================
--- geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeConfig.java
(original)
+++ geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeConfig.java
Sun Jul 22 11:23:29 2007
@@ -109,6 +109,14 @@
 	private static int primIterations = 1;
 	private static boolean longRun = true;
 	private static boolean publishQuotePriceChange = false;
+	
+	/**
+	 *   -1 means every operation
+	 *    0 means never perform a market summary
+	 *  > 0 means number of millseconds between summaries.  These will be
+	 *      synchronized so only one tran in this period will create a summary and will
+	 *      cache its results.
+	 */
 	private static long  marketSummaryInterval = 60000;
 
 	/*



Mime
View raw message