Author: tv
Date: Mon May  9 12:20:50 2016
New Revision: 1742936

URL: http://svn.apache.org/viewvc?rev=1742936&view=rev
Log:
Fix JCS-162: Memory region properties documentation incorrect

Modified:
    commons/proper/jcs/trunk/src/changes/changes.xml
    commons/proper/jcs/trunk/xdocs/BasicJCSConfiguration.xml
    commons/proper/jcs/trunk/xdocs/ElementAttributes.xml
    commons/proper/jcs/trunk/xdocs/IndexedDiskAuxCache.xml
    commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml
    commons/proper/jcs/trunk/xdocs/RegionProperties.xml
    commons/proper/jcs/trunk/xdocs/getting_started/intro.xml

Modified: commons/proper/jcs/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/changes/changes.xml?rev=1742936&r1=1742935&r2=1742936&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/changes/changes.xml (original)
+++ commons/proper/jcs/trunk/src/changes/changes.xml Mon May  9 12:20:50 2016
@@ -20,6 +20,9 @@
        </properties>
        <body>
         <release version="2.0" date="unreleased" description="JDK 1.6 based 
major release">
+            <action issue="JCS-162" dev="tv" type="fix" due-to="Ryan Fong">
+                Fix: Memory region properties documentation incorrect
+            </action>
             <action issue="JCS-161" dev="tv" type="fix" due-to="Ryan Fong">
                 Fix: Dynamic regions leak memory upon dispose due to 
ShrinkerTask
             </action>

Modified: commons/proper/jcs/trunk/xdocs/BasicJCSConfiguration.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/BasicJCSConfiguration.xml?rev=1742936&r1=1742935&r2=1742936&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/BasicJCSConfiguration.xml (original)
+++ commons/proper/jcs/trunk/xdocs/BasicJCSConfiguration.xml Mon May  9 
12:20:50 2016
@@ -57,8 +57,8 @@ jcs.default.cacheattributes.MemoryCacheN
         </p>
         <source><![CDATA[
 jcs.default.cacheattributes.UseMemoryShrinker=true
-jcs.default.cacheattributes.MaxMemoryIdleTime=3600
-jcs.default.cacheattributes.ShrinkerInterval=60
+jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
+jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.default.cacheattributes.MaxSpoolPerRun=500
 jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.default.elementattributes.IsEternal=false
@@ -95,8 +95,8 @@ jcs.region.testCache1.cacheattributes.Ma
 jcs.region.testCache1.cacheattributes.MemoryCacheName=
     org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.region.testCache1.cacheattributes.UseMemoryShrinker=true
-jcs.region.testCache1.cacheattributes.MaxMemoryIdleTime=3600
-jcs.region.testCache1.cacheattributes.ShrinkerInterval=60
+jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=3600
+jcs.region.testCache1.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.region.testCache1.cacheattributes.MaxSpoolPerRun=500
 
jcs.region.testCache1.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.region.testCache1.elementattributes.IsEternal=false
@@ -164,8 +164,8 @@ jcs.region.testCache1.cacheattributes.Ma
 jcs.region.testCache1.cacheattributes.MemoryCacheName=
     org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.region.testCache1.cacheattributes.UseMemoryShrinker=true
-jcs.region.testCache1.cacheattributes.MaxMemoryIdleTime=3600
-jcs.region.testCache1.cacheattributes.ShrinkerInterval=60
+jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=3600
+jcs.region.testCache1.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.region.testCache1.cacheattributes.MaxSpoolPerRun=500
 
jcs.region.testCache1.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.region.testCache1.elementattributes.IsEternal=false

Modified: commons/proper/jcs/trunk/xdocs/ElementAttributes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/ElementAttributes.xml?rev=1742936&r1=1742935&r2=1742936&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/ElementAttributes.xml (original)
+++ commons/proper/jcs/trunk/xdocs/ElementAttributes.xml Mon May  9 12:20:50 
2016
@@ -54,8 +54,8 @@ jcs.default.cacheattributes.MaxObjects=1
 jcs.default.cacheattributes.MemoryCacheName=
     org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.default.cacheattributes.UseMemoryShrinker=true
-jcs.default.cacheattributes.MaxMemoryIdleTime=3600
-jcs.default.cacheattributes.ShrinkerInterval=60
+jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
+jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.default.elementattributes.IsEternal=false
 jcs.default.elementattributes.MaxLife=700
@@ -106,7 +106,7 @@ jcs.default.elementattributes.IsLateral=
                                        without being accessed by setting the
                                        <code>IdleTime</code>
                                        parameter. This is different than the
-                                       <code>MaxMemoryIdleTime</code>
+                                       <code>MaxMemoryIdleTimeSeconds</code>
                                        parameter, which just specifies how 
long an object
                                        can be in memory before it is subjected 
to removal
                                        or being spooled to a disk cache if it 
is available.

Modified: commons/proper/jcs/trunk/xdocs/IndexedDiskAuxCache.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/IndexedDiskAuxCache.xml?rev=1742936&r1=1742935&r2=1742936&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/IndexedDiskAuxCache.xml (original)
+++ commons/proper/jcs/trunk/xdocs/IndexedDiskAuxCache.xml Mon May  9 12:20:50 
2016
@@ -274,8 +274,8 @@ jcs.default.cacheattributes=org.apache.c
 jcs.default.cacheattributes.MaxObjects=200001
 
jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.default.cacheattributes.UseMemoryShrinker=false
-jcs.default.cacheattributes.MaxMemoryIdleTime=3600
-jcs.default.cacheattributes.ShrinkerInterval=60
+jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
+jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.default.elementattributes.IsEternal=false
 jcs.default.elementattributes.MaxLife=700

Modified: commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml?rev=1742936&r1=1742935&r2=1742936&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml (original)
+++ commons/proper/jcs/trunk/xdocs/JDBCDiskCache.xml Mon May  9 12:20:50 2016
@@ -42,8 +42,8 @@ jcs.default.cacheattributes=org.apache.c
 jcs.default.cacheattributes.MaxObjects=5000
 
jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.default.cacheattributes.UseMemoryShrinker=true
-jcs.default.cacheattributes.MaxMemoryIdleTime=7200
-jcs.default.cacheattributes.ShrinkerInterval=60
+jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=7200
+jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.default.elementattributes.IsEternal=false
 jcs.default.elementattributes.MaxLife=14400
@@ -99,8 +99,8 @@ jcs.default.cacheattributes=org.apache.c
 jcs.default.cacheattributes.MaxObjects=100
 
jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.default.cacheattributes.UseMemoryShrinker=false
-jcs.default.cacheattributes.MaxMemoryIdleTime=3600
-jcs.default.cacheattributes.ShrinkerInterval=60
+jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
+jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.default.elementattributes.IsEternal=false
 jcs.default.elementattributes.MaxLife=700
@@ -173,8 +173,8 @@ jcs.default.cacheattributes=org.apache.c
 jcs.default.cacheattributes.MaxObjects=100
 
jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.default.cacheattributes.UseMemoryShrinker=false
-jcs.default.cacheattributes.MaxMemoryIdleTime=3600
-jcs.default.cacheattributes.ShrinkerInterval=60
+jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
+jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.default.elementattributes.IsEternal=false
 jcs.default.elementattributes.MaxLife=700

Modified: commons/proper/jcs/trunk/xdocs/RegionProperties.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/RegionProperties.xml?rev=1742936&r1=1742935&r2=1742936&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/RegionProperties.xml (original)
+++ commons/proper/jcs/trunk/xdocs/RegionProperties.xml Mon May  9 12:20:50 2016
@@ -112,7 +112,7 @@
                                                <td>false</td>
                                        </tr>
                                        <tr>
-                                               <td>MaxMemoryIdleTime</td>
+                                               
<td>MaxMemoryIdleTimeSeconds</td>
                                                <td>
                                                        This is only used if 
you are using the
                                                        memory shrinker. If 
this value is set above
@@ -125,7 +125,7 @@
                                                <td>7200</td>
                                        </tr>
                                        <tr>
-                                               <td>ShrinkerInterval</td>
+                                               <td>ShrinkerIntervalSeconds</td>
                                                <td>
                                                        This specifies how 
often the shrinker should
                                                        run, if it has been 
activated. If you set
@@ -133,7 +133,7 @@
                                                        setting has no effect.
                                                </td>
                                                <td>N</td>
-                                               <td>60</td>
+                                               <td>30</td>
                                        </tr>
                                        <tr>
                                                <td>DiskUsagePatternName</td>
@@ -235,8 +235,8 @@ jcs.default.cacheattributes=org.apache.c
 jcs.default.cacheattributes.MaxObjects=200001
 
jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.default.cacheattributes.UseMemoryShrinker=true
-jcs.default.cacheattributes.MaxMemoryIdleTime=3600
-jcs.default.cacheattributes.ShrinkerInterval=60
+jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
+jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.default.elementattributes.IsEternal=false
 jcs.default.elementattributes.MaxLife=700
@@ -250,8 +250,8 @@ jcs.region.testCache1.cacheattributes=or
 jcs.region.testCache1.cacheattributes.MaxObjects=123456
 
jcs.region.testCache1.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.region.testCache1.cacheattributes.UseMemoryShrinker=true
-jcs.region.testCache1.cacheattributes.ShrinkerInterval=30
-jcs.region.testCache1.cacheattributes.MaxMemoryIdleTime=300
+jcs.region.testCache1.cacheattributes.ShrinkerIntervalSeconds=30
+jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=300
 jcs.region.testCache1.cacheattributes.MaxSpoolPerRun=100
 
jcs.region.testCache1.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.region.testCache1.elementattributes.IsEternal=false

Modified: commons/proper/jcs/trunk/xdocs/getting_started/intro.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/jcs/trunk/xdocs/getting_started/intro.xml?rev=1742936&r1=1742935&r2=1742936&view=diff
==============================================================================
--- commons/proper/jcs/trunk/xdocs/getting_started/intro.xml (original)
+++ commons/proper/jcs/trunk/xdocs/getting_started/intro.xml Mon May  9 
12:20:50 2016
@@ -155,8 +155,8 @@ jcs.default.cacheattributes=org.apache.c
 jcs.default.cacheattributes.MaxObjects=1000
 
jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.default.cacheattributes.UseMemoryShrinker=false
-jcs.default.cacheattributes.MaxMemoryIdleTime=3600
-jcs.default.cacheattributes.ShrinkerInterval=60
+jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
+jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.default.elementattributes.IsEternal=false
 jcs.default.elementattributes.MaxLife=21600
@@ -171,8 +171,8 @@ jcs.region.testCache1.cacheattributes=or
 jcs.region.testCache1.cacheattributes.MaxObjects=1000
 
jcs.region.testCache1.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
 jcs.region.testCache1.cacheattributes.UseMemoryShrinker=false
-jcs.region.testCache1.cacheattributes.MaxMemoryIdleTime=3600
-jcs.region.testCache1.cacheattributes.ShrinkerInterval=60
+jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=3600
+jcs.region.testCache1.cacheattributes.ShrinkerIntervalSeconds=60
 jcs.region.testCache1.cacheattributes.MaxSpoolPerRun=500
 
jcs.region.testCache1.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
 jcs.region.testCache1.elementattributes.IsEternal=false


Reply via email to