[jboss-cvs] JBossCache/etc ...
Manik Surtani
msurtani at jboss.com
Wed Jan 24 11:33:57 EST 2007
User: msurtani
Date: 07/01/24 11:33:57
Modified: etc tree-service.xml jdbcCacheLoader-service.xml
Log:
Refactored to remove legacy EvictionPolicyClass element
Revision Changes Path
1.12 +0 -55 JBossCache/etc/tree-service.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: tree-service.xml
===================================================================
RCS file: /cvsroot/jboss/JBossCache/etc/tree-service.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- tree-service.xml 30 Dec 2006 17:50:01 -0000 1.11
+++ tree-service.xml 24 Jan 2007 16:33:57 -0000 1.12
@@ -136,61 +136,6 @@
<attribute name="LockAcquisitionTimeout">10000</attribute>
- <!-- Name of the eviction policy class. Not supported now. -->
- <attribute name="EvictionPolicyClass"></attribute>
-
- <!-- New 1.3.x cache loader config block -->
- <!--
- <attribute name="CacheLoaderConfiguration">
- <config>
-
- <passivation>false</passivation>
- <preload>/</preload>
- <shared>false</shared>
-
- <cacheloader>
- <class>org.jboss.cache.loader..bdbje.BdbjeCacheLoader</class>
-
- <properties>
- location=/tmp
- </properties>
-
- <async>false</async>
- <fetchPersistentState>true</fetchPersistentState>
-
- <ignoreModifications>false</ignoreModifications>
- </cacheloader>
-
- </config>
- </attribute>
- -->
-
- <!-- New 1.3.x cache loader config block -->
- <!--
- <attribute name="CacheLoaderConfiguration">
- <config>
-
- <passivation>false</passivation>
- <preload>/</preload>
- <shared>false</shared>
-
-
- <cacheloader>
- <class>org.jboss.cache.loader.FileCacheLoader</class>
-
- <properties>
- location=/tmp
- </properties>
-
- <async>false</async>
- <fetchPersistentState>true</fetchPersistentState>
-
- <ignoreModifications>false</ignoreModifications>
- </cacheloader>
-
- </config>
- </attribute>
- -->
</mbean>
<!-- Uncomment to bind TreeCache into JNDI as MyCache
1.12 +0 -28 JBossCache/etc/jdbcCacheLoader-service.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: jdbcCacheLoader-service.xml
===================================================================
RCS file: /cvsroot/jboss/JBossCache/etc/jdbcCacheLoader-service.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- jdbcCacheLoader-service.xml 30 Dec 2006 17:50:01 -0000 1.11
+++ jdbcCacheLoader-service.xml 24 Jan 2007 16:33:57 -0000 1.12
@@ -123,42 +123,14 @@
<attribute name="LockAcquisitionTimeout">10000</attribute>
- <!-- Name of the eviction policy class. Not supported now. -->
- <attribute name="EvictionPolicyClass"></attribute>
- <!-- Old 1.2.x cache loader config block
-
- <attribute name="CacheLoaderClass">org.jboss.cache.loader.JDBCCacheLoader</attribute>
- <attribute name="CacheLoaderShared">false</attribute>
- <attribute name="CacheLoaderPreload">/</attribute>
- <attribute name="CacheLoaderFetchTransientState">false</attribute>
- <attribute name="CacheLoaderFetchPersistentState">true</attribute>
- <attribute name="CacheLoaderConfig">
- cache.jdbc.table.name=jbosscache
- cache.jdbc.table.create=true
- cache.jdbc.table.drop=true
- cache.jdbc.fqn.column=fqn
- cache.jdbc.fqn.type=varchar(255)
- cache.jdbc.node.column=node
- cache.jdbc.node.type=blob
- cache.jdbc.parent.column=parent
- cache.jdbc.driver=com.mysql.jdbc.Driver
- cache.jdbc.url=jdbc:mysql://localhost:3306/jbossdb
- cache.jdbc.user=root
- cache.jdbc.password=
- </attribute>
-
- <attribute name="CacheLoaderPassivation">false</attribute>
- -->
-
<!-- Cache Passivation for Tree Cache
On pasivation, The objects are written to the backend store on eviction if CacheLoaderPassivation
is true, otheriwse the objects are persisted.
On activation, the objects are restored in the memory cache and removed from the cache loader
if CacheLoaderPassivation is true, otherwise the objects are only loaded from the cache loader -->
- <!-- New 1.3.x cache loader config block -->
<attribute name="CacheLoaderConfiguration">
<config>
<!-- if passivation is true, only the first cache loader is used; the rest are ignored -->
More information about the jboss-cvs-commits
mailing list