Author: nfilotto
Date: 2010-09-16 07:23:57 -0400 (Thu, 16 Sep 2010)
New Revision: 3120
Modified:
kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/ExoCacheFactoryImpl.java
Log:
EXOJCR-943: When the cache is not shareable the cluster name will be
${current-cluster-name} + "-" + ${region-name}
Modified:
kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/ExoCacheFactoryImpl.java
===================================================================
---
kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/ExoCacheFactoryImpl.java 2010-09-16
11:02:45 UTC (rev 3119)
+++
kernel/trunk/exo.kernel.component.ext.cache.impl.jboss.v3/src/main/java/org/exoplatform/services/cache/impl/jboss/ExoCacheFactoryImpl.java 2010-09-16
11:23:57 UTC (rev 3120)
@@ -312,7 +312,7 @@
String clusterName = cfg.getClusterName();
if (clusterName != null && (clusterName = clusterName.trim()).length()
> 0)
{
- cfg.setClusterName(clusterName + " " + region);
+ cfg.setClusterName(clusterName + "-" + region);
}
return cache;
}
Show replies by date