You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/04/05 06:02:57 UTC
cvs commit: jakarta-turbine/src/java/org/apache/turbine/services/cache TurbineGlobalCacheService.java
jvanzyl 01/04/04 21:02:57
Modified: src/java/org/apache/turbine/services/cache
TurbineGlobalCacheService.java
Log:
- changing the property name used to check the interval at
which the cache is checked. also updating the TR.props to
allow control over this property, up until now it wasn't
present.
Revision Changes Path
1.12 +4 -3 jakarta-turbine/src/java/org/apache/turbine/services/cache/TurbineGlobalCacheService.java
Index: TurbineGlobalCacheService.java
===================================================================
RCS file: /home/cvs/jakarta-turbine/src/java/org/apache/turbine/services/cache/TurbineGlobalCacheService.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- TurbineGlobalCacheService.java 2001/03/06 06:11:57 1.11
+++ TurbineGlobalCacheService.java 2001/04/05 04:02:56 1.12
@@ -78,7 +78,7 @@
* @author <a href="mailto:mbryson@mont.mindspring.com">Dave Bryson</a>
* @author <a href="mailto:jon@clearink.com">Jon S. Stevens</a>
* @author <a href="mailto:john@zenplex.com">John Thorhauer</a>
- * @version $Id: TurbineGlobalCacheService.java,v 1.11 2001/03/06 06:11:57 chrise Exp $
+ * @version $Id: TurbineGlobalCacheService.java,v 1.12 2001/04/05 04:02:56 jvanzyl Exp $
*/
public class TurbineGlobalCacheService
extends TurbineBaseService
@@ -90,7 +90,7 @@
/** cacheCheckFrequency (default - 5 seconds) */
private long cacheCheckFrequency =
- TurbineResources.getLong("cachedobject.cacheCheckFrequency", 5000);
+ TurbineResources.getLong("cache.check.frequency", 5000);
/**
* Constructor.
@@ -122,7 +122,8 @@
}
catch (Exception e)
{
- throw new InitializationException("TurbineGlobalCacheService failed to initialize", e);
+ throw new InitializationException(
+ "TurbineGlobalCacheService failed to initialize", e);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org