xlawrence 2005/02/03 10:04:09 CET
Modified files:
calClient/conf ehcache.xml
calClient maven.xml
Log:
Added hibernate ehcache config file support
Revision Changes Path
1.4 +9 -7 uwcal_JSR168/calClient/conf/ehcache.xml
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/uwcal_JSR168/calClient/conf/ehcache.xml.diff?r1=1.3&r2=1.4&f=h
1.9 +1 -0 uwcal_JSR168/calClient/maven.xml
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/uwcal_JSR168/calClient/maven.xml.diff?r1=1.8&r2=1.9&f=h
Index: ehcache.xml
===================================================================
RCS file: /home/cvs/repository/uwcal_JSR168/calClient/conf/ehcache.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ehcache.xml 21 Jan 2005 11:02:50 -0000 1.3
+++ ehcache.xml 3 Feb 2005 09:04:08 -0000 1.4
@@ -20,10 +20,13 @@
maxInMemory - Sets the maximum number of objects that will be
created in memory
eternal - Sets whether elements are eternal. If eternal,
timeouts are ignored and the element
is never expired.
- timeToIdleSeconds - Sets the time to idle for an element before it
expires. Is only used
- if the element is not eternal. Idle time is now
- last accessed time
- timeToLiveSeconds - Sets the time to live for an element before it
expires. Is only used
- if the element is not eternal. TTL is now -
creation time
+ timeToIdleSeconds - Sets the time to idle for an element before it
expires.
+ i.e. The maximum amount of time between accesses
before an element expires
+ Is only used if the element is not eternal.
+ Optional attribute. A value of 0 means that an
Element can idle for infinity
+ timeToLiveSeconds - Sets the time to live for an element before it
expires.
+ i.e. The maximum time between creation time and
when an element expires.
+ Is only used if the element is not eternal.
overflowToDisk - Sets whether elements can overflow to disk when
the in-memory cache
has reached the maxInMemory limit.
@@ -32,8 +35,7 @@
maxElementsInMemory="10000"
eternal="false"
timeToIdleSeconds="120"
- timeToLiveSeconds="240"
- overflowToDisk="false"
+ timeToLiveSeconds="120"
+ overflowToDisk="true"
/>
-
</ehcache>
Index: maven.xml
===================================================================
RCS file: /home/cvs/repository/uwcal_JSR168/calClient/maven.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- maven.xml 31 Jan 2005 17:05:31 -0000 1.8
+++ maven.xml 3 Feb 2005 09:04:08 -0000 1.9
@@ -56,6 +56,7 @@
<copy file="${maven.conf.dir}/hibernate.cfg_test.xml"
tofile="${maven.build.dest}/hibernate.cfg.xml"/>
<copy file="${maven.conf.dir}/eventid.hbm.xml"
toDir="${maven.build.dest}"/>
+ <copy file="${maven.conf.dir}/ehcache.xml" toDir="${maven.build.dest}"/>
<copy file="${basedir}/src/java/client.properties"
toDir="${maven.build.dest}"/>
<copy toDir="${maven.build.dest}/properties">