Author: nzamosenchuk
Date: 2010-02-16 07:15:56 -0500 (Tue, 16 Feb 2010)
New Revision: 1828
Added:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-data.xml
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-indexer.xml
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-lock.xml
Removed:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-data.xml
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-indexer.xml
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-lock.xml
Log:
EXOJCR-434: renamed JBossCache configuration templates in src/main/resources
Copied:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-data.xml (from
rev 1805,
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-data.xml)
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-data.xml
(rev 0)
+++
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-data.xml 2010-02-16
12:15:56 UTC (rev 1828)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
+
+ <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false"
+ lockAcquisitionTimeout="20000" />
+
+ <clustering mode="replication"
clusterName="${jbosscache-cluster-name}">
+ <stateRetrieval timeout="20000" fetchInMemoryState="false"
/>
+ <jgroupsConfig multiplexerStack="jcr.stack" />
+ <sync />
+ </clustering>
+
+ <!-- Eviction configuration -->
+ <eviction wakeUpInterval="5000">
+ <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
+
actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
+ eventQueueSize="1000000">
+ <property name="maxNodes" value="1000000" />
+ <property name="timeToLive" value="120000" />
+ </default>
+ </eviction>
+</jbosscache>
\ No newline at end of file
Property changes on:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-data.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-indexer.xml
(from rev 1805,
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-indexer.xml)
===================================================================
---
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-indexer.xml
(rev 0)
+++
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-indexer.xml 2010-02-16
12:15:56 UTC (rev 1828)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
+
+ <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false"
+ lockAcquisitionTimeout="20000" />
+ <!-- Configure the TransactionManager -->
+ <transaction
transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup"
/>
+
+ <clustering mode="replication"
clusterName="${jbosscache-cluster-name}">
+ <stateRetrieval timeout="20000" fetchInMemoryState="false"
/>
+ <jgroupsConfig multiplexerStack="jcr.stack" />
+ <sync />
+ </clustering>
+ <!-- Eviction configuration -->
+ <eviction wakeUpInterval="5000">
+ <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm"
eventQueueSize="1000000">
+ <property name="maxNodes" value="10000" />
+ <property name="minTimeToLive" value="60000" />
+ </default>
+ </eviction>
+
+</jbosscache>
Property changes on:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-indexer.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-lock.xml (from
rev 1805,
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-lock.xml)
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-lock.xml
(rev 0)
+++
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-lock.xml 2010-02-16
12:15:56 UTC (rev 1828)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
+
+ <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false"
+ lockAcquisitionTimeout="20000" />
+
+ <clustering mode="replication"
clusterName="${jbosscache-cluster-name}">
+ <stateRetrieval timeout="20000" fetchInMemoryState="false"
/>
+ <jgroupsConfig multiplexerStack="jcr.stack" />
+ <sync />
+ </clustering>
+
+ <loaders passivation="false" shared="true">
+ <preload>
+ <node fqn="/" />
+ </preload>
+ <!--
+ For another cache-loader class you should use another template with
+ cache-loader specific parameters
+ -->
+ <loader class="org.jboss.cache.loader.JDBCCacheLoader"
async="false" fetchPersistentState="false"
+ ignoreModifications="false" purgeOnStartup="false">
+ <properties>
+ cache.jdbc.table.name=${jbosscache-cl-cache.jdbc.table.name}
+ cache.jdbc.table.create=${jbosscache-cl-cache.jdbc.table.create}
+ cache.jdbc.table.drop=${jbosscache-cl-cache.jdbc.table.drop}
+ cache.jdbc.table.primarykey=${jbosscache-cl-cache.jdbc.table.primarykey}
+ cache.jdbc.fqn.column=${jbosscache-cl-cache.jdbc.fqn.column}
+ cache.jdbc.fqn.type=${jbosscache-cl-cache.jdbc.fqn.type}
+ cache.jdbc.node.column=${jbosscache-cl-cache.jdbc.node.column}
+ cache.jdbc.node.type=${jbosscache-cl-cache.jdbc.node.type}
+ cache.jdbc.parent.column=${jbosscache-cl-cache.jdbc.parent.column}
+ cache.jdbc.datasource=${jbosscache-cl-cache.jdbc.datasource}
+ </properties>
+ </loader>
+
+ </loaders>
+
+</jbosscache>
Property changes on:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/jbosscache-lock.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-data.xml
===================================================================
---
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-data.xml 2010-02-15
16:56:01 UTC (rev 1827)
+++
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-data.xml 2010-02-16
12:15:56 UTC (rev 1828)
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
-
- <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false"
- lockAcquisitionTimeout="20000" />
-
- <clustering mode="replication"
clusterName="${jbosscache-cluster-name}">
- <stateRetrieval timeout="20000" fetchInMemoryState="false"
/>
- <jgroupsConfig multiplexerStack="jcr.stack" />
- <sync />
- </clustering>
-
- <!-- Eviction configuration -->
- <eviction wakeUpInterval="5000">
- <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
-
actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
- eventQueueSize="1000000">
- <property name="maxNodes" value="1000000" />
- <property name="timeToLive" value="120000" />
- </default>
- </eviction>
-</jbosscache>
\ No newline at end of file
Deleted:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-indexer.xml
===================================================================
---
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-indexer.xml 2010-02-15
16:56:01 UTC (rev 1827)
+++
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-indexer.xml 2010-02-16
12:15:56 UTC (rev 1828)
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
-
- <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false"
- lockAcquisitionTimeout="20000" />
- <!-- Configure the TransactionManager -->
- <transaction
transactionManagerLookupClass="org.jboss.cache.transaction.JBossStandaloneJTAManagerLookup"
/>
-
- <clustering mode="replication"
clusterName="${jbosscache-cluster-name}">
- <stateRetrieval timeout="20000" fetchInMemoryState="false"
/>
- <jgroupsConfig multiplexerStack="jcr.stack" />
- <sync />
- </clustering>
- <!-- Eviction configuration -->
- <eviction wakeUpInterval="5000">
- <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm"
eventQueueSize="1000000">
- <property name="maxNodes" value="10000" />
- <property name="minTimeToLive" value="60000" />
- </default>
- </eviction>
-
-</jbosscache>
Deleted:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-lock.xml
===================================================================
---
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-lock.xml 2010-02-15
16:56:01 UTC (rev 1827)
+++
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/portal/test-jbosscache-lock.xml 2010-02-16
12:15:56 UTC (rev 1828)
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbosscache
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:jboss:jbosscache-core:config:3.1">
-
- <locking useLockStriping="false" concurrencyLevel="50000"
lockParentForChildInsertRemove="false"
- lockAcquisitionTimeout="20000" />
-
- <clustering mode="replication"
clusterName="${jbosscache-cluster-name}">
- <stateRetrieval timeout="20000" fetchInMemoryState="false"
/>
- <jgroupsConfig multiplexerStack="jcr.stack" />
- <sync />
- </clustering>
-
- <loaders passivation="false" shared="true">
- <preload>
- <node fqn="/" />
- </preload>
- <!--
- For another cache-loader class you should use another template with
- cache-loader specific parameters
- -->
- <loader class="org.jboss.cache.loader.JDBCCacheLoader"
async="false" fetchPersistentState="false"
- ignoreModifications="false" purgeOnStartup="false">
- <properties>
- cache.jdbc.table.name=${jbosscache-cl-cache.jdbc.table.name}
- cache.jdbc.table.create=${jbosscache-cl-cache.jdbc.table.create}
- cache.jdbc.table.drop=${jbosscache-cl-cache.jdbc.table.drop}
- cache.jdbc.table.primarykey=${jbosscache-cl-cache.jdbc.table.primarykey}
- cache.jdbc.fqn.column=${jbosscache-cl-cache.jdbc.fqn.column}
- cache.jdbc.fqn.type=${jbosscache-cl-cache.jdbc.fqn.type}
- cache.jdbc.node.column=${jbosscache-cl-cache.jdbc.node.column}
- cache.jdbc.node.type=${jbosscache-cl-cache.jdbc.node.type}
- cache.jdbc.parent.column=${jbosscache-cl-cache.jdbc.parent.column}
- cache.jdbc.datasource=${jbosscache-cl-cache.jdbc.datasource}
- </properties>
- </loader>
-
- </loaders>
-
-</jbosscache>