You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by oh...@apache.org on 2005/08/28 20:24:24 UTC

svn commit: r263900 - /jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/reloading/FileChangedReloadingStrategy.java

Author: oheger
Date: Sun Aug 28 11:24:17 2005
New Revision: 263900

URL: http://svn.apache.org/viewcvs?rev=263900&view=rev
Log:
JavaDoc update for FileChangedReloadingStrategy, related to issue 35529

Modified:
    jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/reloading/FileChangedReloadingStrategy.java

Modified: jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/reloading/FileChangedReloadingStrategy.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/reloading/FileChangedReloadingStrategy.java?rev=263900&r1=263899&r2=263900&view=diff
==============================================================================
--- jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/reloading/FileChangedReloadingStrategy.java (original)
+++ jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/reloading/FileChangedReloadingStrategy.java Sun Aug 28 11:24:17 2005
@@ -24,10 +24,17 @@
 import org.apache.commons.configuration.FileConfiguration;
 
 /**
- * A reloading strategy that will reload the configuration every time its
- * underlying file is changed. The file is not reloaded more than once
- * every 5 seconds by default, this time can be changed by setting the refresh
- * delay. This strategy only works with FileConfiguration instances.
+ * <p>A reloading strategy that will reload the configuration every time its
+ * underlying file is changed.</p>
+ * <p>This reloading strategy does not actively monitor a configuration file,
+ * but is triggered by its associated configuration whenever properties are
+ * accessed. It then checks the configuration file's last modification date
+ * and causes a reload if this has changed.</p>
+ * <p>To avoid permanent disc access on successive property lookups a refresh 
+ * delay can be specified. This has the effect that the configuration file's
+ * last modification date is only checked once in this delay period. The default
+ * value for this refresh delay is 5 seconds.</p>
+ * <p>This strategy only works with FileConfiguration instances.</p>
  *
  * @author Emmanuel Bourg
  * @version $Revision$, $Date$



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org