JBoss Cache SVN: r6406 - benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/src/org/cachebench/cachewrappers.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-07-25 04:57:44 -0400 (Fri, 25 Jul 2008)
New Revision: 6406
Modified:
benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/src/org/cachebench/cachewrappers/Coherence331Wrapper.java
Log:
Fixed stuff
Modified: benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/src/org/cachebench/cachewrappers/Coherence331Wrapper.java
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/src/org/cachebench/cachewrappers/Coherence331Wrapper.java 2008-07-25 08:55:20 UTC (rev 6405)
+++ benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/src/org/cachebench/cachewrappers/Coherence331Wrapper.java 2008-07-25 08:57:44 UTC (rev 6406)
@@ -2,6 +2,8 @@
import com.tangosol.net.CacheFactory;
import com.tangosol.net.NamedCache;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.cachebench.CacheWrapper;
import java.util.List;
@@ -19,6 +21,7 @@
private NamedCache cache;
boolean localmode;
Map parameters;
+ private Log log = LogFactory.getLog(Coherence331Wrapper.class);
public void init(Map parameters) throws Exception
{
@@ -33,35 +36,36 @@
if (trimmedConfig.indexOf("repl") == 0)
{
cache = CacheFactory.getCache("repl-CacheBenchmarkFramework");
- return;
}
- if (trimmedConfig.indexOf("dist") == 0)
+ else if (trimmedConfig.indexOf("dist") == 0)
{
cache = CacheFactory.getCache("dist-CacheBenchmarkFramework");
- return;
}
- if (trimmedConfig.indexOf("local") == 0)
+ else if (trimmedConfig.indexOf("local") == 0)
{
cache = CacheFactory.getCache("local-CacheBenchmarkFramework");
- return;
}
- if (trimmedConfig.indexOf("opt") == 0)
+ else if (trimmedConfig.indexOf("opt") == 0)
{
cache = CacheFactory.getCache("opt-CacheBenchmarkFramework");
- return;
}
- if (trimmedConfig.indexOf("near") == 0)
+ else if (trimmedConfig.indexOf("near") == 0)
{
cache = CacheFactory.getCache("near-CacheBenchmarkFramework");
- return;
}
+ else
+ throw new RuntimeException("Invalid configuration ('" + trimmedConfig + "'). Configuration name should start with: 'dist', 'repl', 'local', 'opt' or 'near'");
- throw new RuntimeException("Invalid configuration ('" + trimmedConfig + "'). Configuration name should start with: 'dist', 'repl', 'local', 'opt' or 'near'");
+ log.info("Starting Coherence cache " + cache.getCacheName());
}
public void tearDown() throws Exception
{
- if (cache != null) cache.release();
+ if (cache != null)
+ {
+ cache.release();
+ cache.destroy();
+ }
}
public void put(List<String> path, Object key, Object value) throws Exception
@@ -81,12 +85,12 @@
public int getNumMembers()
{
- return cache.getCacheService().getCluster().getMemberSet().size();
+ return localmode ? 0 : cache.getCacheService().getCluster().getMemberSet().size();
}
public String getInfo()
{
- return null;
+ return cache.getCacheName();
}
public Object getReplicatedData(List<String> path, String key) throws Exception
16 years, 5 months
JBoss Cache SVN: r6405 - benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/src/org/cachebench/cachewrappers.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-07-25 04:55:20 -0400 (Fri, 25 Jul 2008)
New Revision: 6405
Modified:
benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/src/org/cachebench/cachewrappers/Coherence331Wrapper.java
Log:
Fixed stuff
Modified: benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/src/org/cachebench/cachewrappers/Coherence331Wrapper.java
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/src/org/cachebench/cachewrappers/Coherence331Wrapper.java 2008-07-25 08:50:32 UTC (rev 6404)
+++ benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/src/org/cachebench/cachewrappers/Coherence331Wrapper.java 2008-07-25 08:55:20 UTC (rev 6405)
@@ -1,13 +1,12 @@
package org.cachebench.cachewrappers;
+import com.tangosol.net.CacheFactory;
+import com.tangosol.net.NamedCache;
import org.cachebench.CacheWrapper;
import java.util.List;
import java.util.Map;
-import com.tangosol.net.NamedCache;
-import com.tangosol.net.CacheFactory;
-
/**
* Pass in a -Dtangosol.coherence.localhost=IP_ADDRESS
*
@@ -18,13 +17,19 @@
{
private NamedCache cache;
-
- public void init(Map parameters) throws Exception {
+ boolean localmode;
+ Map parameters;
+
+ public void init(Map parameters) throws Exception
+ {
+ this.parameters = parameters;
}
- public void setUp() throws Exception {
+ public void setUp() throws Exception
+ {
String configuraton = System.getProperty("cacheBenchFwk.cacheConfigFile");
String trimmedConfig = configuraton.trim();
+ localmode = (Boolean.parseBoolean((String) parameters.get("localOnly")));
if (trimmedConfig.indexOf("repl") == 0)
{
cache = CacheFactory.getCache("repl-CacheBenchmarkFramework");
@@ -35,34 +40,57 @@
cache = CacheFactory.getCache("dist-CacheBenchmarkFramework");
return;
}
- throw new RuntimeException("Invalid configuration ('" + trimmedConfig + "'). Configuration name should start with: 'dist' or 'repl'");
+ if (trimmedConfig.indexOf("local") == 0)
+ {
+ cache = CacheFactory.getCache("local-CacheBenchmarkFramework");
+ return;
+ }
+ if (trimmedConfig.indexOf("opt") == 0)
+ {
+ cache = CacheFactory.getCache("opt-CacheBenchmarkFramework");
+ return;
+ }
+ if (trimmedConfig.indexOf("near") == 0)
+ {
+ cache = CacheFactory.getCache("near-CacheBenchmarkFramework");
+ return;
+ }
+
+ throw new RuntimeException("Invalid configuration ('" + trimmedConfig + "'). Configuration name should start with: 'dist', 'repl', 'local', 'opt' or 'near'");
}
- public void tearDown() throws Exception {
+ public void tearDown() throws Exception
+ {
if (cache != null) cache.release();
}
- public void put(List<String> path, Object key, Object value) throws Exception {
+ public void put(List<String> path, Object key, Object value) throws Exception
+ {
cache.put(pathAsString(path, key), value);
}
- public Object get(List<String> path, Object key) throws Exception {
- return cache.get( pathAsString(path, key));
+ public Object get(List<String> path, Object key) throws Exception
+ {
+ return cache.get(pathAsString(path, key));
}
- public void empty() throws Exception {
+ public void empty() throws Exception
+ {
cache.clear();
}
- public int getNumMembers() {
+ public int getNumMembers()
+ {
return cache.getCacheService().getCluster().getMemberSet().size();
}
- public String getInfo() {
- return null;
+ public String getInfo()
+ {
+ return null;
}
- public Object getReplicatedData(List<String> path, String key) throws Exception {
+ public Object getReplicatedData(List<String> path, String key) throws Exception
+ {
return get(path, key);
}
16 years, 5 months
JBoss Cache SVN: r6404 - benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/simpletests.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-07-25 04:50:32 -0400 (Fri, 25 Jul 2008)
New Revision: 6404
Modified:
benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/simpletests/SimpleTest.java
Log:
Log levels
Modified: benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/simpletests/SimpleTest.java
===================================================================
--- benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/simpletests/SimpleTest.java 2008-07-25 08:43:16 UTC (rev 6403)
+++ benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/simpletests/SimpleTest.java 2008-07-25 08:50:32 UTC (rev 6404)
@@ -162,7 +162,7 @@
cache.put(path, attributeKey, value);
long statValue = (System.nanoTime() - startTime);
putStats.addValue(statValue);
- if (log.isDebugEnabled()) log.debug("Time For This Put: " + statValue);
+ if (log.isTraceEnabled()) log.trace("Time For This Put: " + statValue);
logOperation(cycleNumber, "PUTS");
}
@@ -192,7 +192,7 @@
cache.get(path, attributeKey);
long statValue = (System.nanoTime() - startTime);
getStats.addValue(statValue);
- if (log.isDebugEnabled()) log.debug("Time For This Get: " + statValue);
+ if (log.isTraceEnabled()) log.trace("Time For This Get: " + statValue);
logOperation(cycleNumber, "GETS");
}
catch (Exception e)
16 years, 5 months
JBoss Cache SVN: r6403 - core/trunk/src/main/java/org/jboss/cache/util.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-07-25 04:43:16 -0400 (Fri, 25 Jul 2008)
New Revision: 6403
Modified:
core/trunk/src/main/java/org/jboss/cache/util/ImmutableListCopy.java
Log:
more detail in sxception msg
Modified: core/trunk/src/main/java/org/jboss/cache/util/ImmutableListCopy.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/util/ImmutableListCopy.java 2008-07-25 00:20:59 UTC (rev 6402)
+++ core/trunk/src/main/java/org/jboss/cache/util/ImmutableListCopy.java 2008-07-25 08:43:16 UTC (rev 6403)
@@ -305,8 +305,8 @@
ImmutableSubList(int fromIndex, int toIndex)
{
- if (fromIndex < 0 || toIndex > size || fromIndex > toIndex)
- throw new IllegalArgumentException("fromIndex(" + fromIndex + "), toIndex(" + toIndex + "), size (" + size + ")");
+ if (fromIndex < 0 || toIndex > ImmutableListCopy.this.size || fromIndex > toIndex)
+ throw new IllegalArgumentException("fromIndex(" + fromIndex + "), toIndex(" + toIndex + "), size (" + ImmutableListCopy.this.size + "), List=" + ImmutableListCopy.this.toString());
offset = fromIndex;
size = toIndex - fromIndex;
}
16 years, 5 months
JBoss Cache SVN: r6402 - benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-07-24 20:20:59 -0400 (Thu, 24 Jul 2008)
New Revision: 6402
Modified:
benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/config.sh
Log:
Modified: benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/config.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/config.sh 2008-07-24 23:42:03 UTC (rev 6401)
+++ benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/config.sh 2008-07-25 00:20:59 UTC (rev 6402)
@@ -5,16 +5,15 @@
THIS_DIR="./cache-products/coherence-3.3.1"
#setting up classpath
-for JAR in $THIS_DIR/lib/*
-do
+for JAR in $THIS_DIR/lib/* ; do
CLASSPATH=$CLASSPATH:$JAR
done
-CLASSPATH="$CLASSPATH:./classes/production/coherence-3.3.1"
-CLASSPATH="$THIS_DIR/conf:$CLASSPATH"
+export CLASSPATH="$CLASSPATH:./classes/production/coherence-3.3.1"
+export CLASSPATH="$THIS_DIR/conf:$CLASSPATH"
#--classpath was set
#additional JVM options
-JVM_OPTIONS="$JVM_OPTIONS -Djava.net.preferIPv4Stack=true -Dtangosol.coherence.localhost=${MYTESTIP_1}"
-JVM_OPTIONS="-Dtangosol.coherence.cacheconfig=cache-config.xml"
-JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.Coherence331Wrapper"
\ No newline at end of file
+export JVM_OPTIONS="$JVM_OPTIONS -Djava.net.preferIPv4Stack=true -Dtangosol.coherence.localhost=${MYTESTIP_1}"
+export JVM_OPTIONS="$JVM_OPTIONS -Dtangosol.coherence.cacheconfig=cache-config.xml"
+export JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.Coherence331Wrapper"
16 years, 5 months
JBoss Cache SVN: r6401 - benchmarks/benchmark-fwk/trunk.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-07-24 19:42:03 -0400 (Thu, 24 Jul 2008)
New Revision: 6401
Modified:
benchmarks/benchmark-fwk/trunk/runAllLocal.sh
Log:
Modified: benchmarks/benchmark-fwk/trunk/runAllLocal.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/runAllLocal.sh 2008-07-24 23:41:31 UTC (rev 6400)
+++ benchmarks/benchmark-fwk/trunk/runAllLocal.sh 2008-07-24 23:42:03 UTC (rev 6401)
@@ -1,12 +1,13 @@
#!/bin/bash
rm -rf ./output/*
-export JVM_OPTIONS="${JVM_OPTIONS} -DcacheBenchFwk.fwkCfgFile=cachebench-local.xml"
-./runLocalNode.sh jbosscache-3.0.0 pess-local.xml
+export JVM_OPTIONS="${JVM_OPTIONS} -DcacheBenchFwk.fwkCfgFile=cachebench-local.xml -Xms2g -Xmx2g"
+./runLocalNode.sh jbosscache-2.2.0 pess-local.xml
./runLocalNode.sh jbosscache-3.0.0 mvcc-local-RR.xml
./runLocalNode.sh jbosscache-3.0.0 mvcc-local-RC.xml
-./runLocalNode.sh jbosscache-3.0.0 pess-local-NONE.xml
+./runLocalNode.sh jbosscache-2.2.0 pess-local-NONE.xml
./runLocalNode.sh ehcache-1.5.0 ehcache-local.xml
+./runLocalNode.sh coherence-3.3.1 local-default.xml
mkdir output
mv data* ./output
16 years, 5 months
JBoss Cache SVN: r6400 - in benchmarks/benchmark-fwk/trunk/cache-products: ehcache-1.5.0 and 3 other directories.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-07-24 19:41:31 -0400 (Thu, 24 Jul 2008)
New Revision: 6400
Modified:
benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/config.sh
benchmarks/benchmark-fwk/trunk/cache-products/ehcache-1.5.0/config.sh
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/config.sh
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.2.0/config.sh
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-3.0.0/config.sh
Log:
Modified: benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/config.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/config.sh 2008-07-24 23:33:10 UTC (rev 6399)
+++ benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/config.sh 2008-07-24 23:41:31 UTC (rev 6400)
@@ -15,6 +15,6 @@
#--classpath was set
#additional JVM options
-JVM_OPTIONS="$JVM_OPTIONS -Xmx2048m -Djava.net.preferIPv4Stack=true -Dtangosol.coherence.localhost=${MYTESTIP_1}"
+JVM_OPTIONS="$JVM_OPTIONS -Djava.net.preferIPv4Stack=true -Dtangosol.coherence.localhost=${MYTESTIP_1}"
JVM_OPTIONS="-Dtangosol.coherence.cacheconfig=cache-config.xml"
JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.Coherence331Wrapper"
\ No newline at end of file
Modified: benchmarks/benchmark-fwk/trunk/cache-products/ehcache-1.5.0/config.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/ehcache-1.5.0/config.sh 2008-07-24 23:33:10 UTC (rev 6399)
+++ benchmarks/benchmark-fwk/trunk/cache-products/ehcache-1.5.0/config.sh 2008-07-24 23:41:31 UTC (rev 6400)
@@ -15,4 +15,4 @@
#--classpath was set
#additional JVM options
-JVM_OPTIONS="$JVM_OPTIONS -Xmx1024m -Djava.net.preferIPv4Stack=true" JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.EHCacheWrapper"
+JVM_OPTIONS="$JVM_OPTIONS -Djava.net.preferIPv4Stack=true" JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.EHCacheWrapper"
Modified: benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/config.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/config.sh 2008-07-24 23:33:10 UTC (rev 6399)
+++ benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/config.sh 2008-07-24 23:41:31 UTC (rev 6400)
@@ -15,4 +15,4 @@
#--classpath was set
#additional JVM options
-JVM_OPTIONS="$JVM_OPTIONS -Xmx1024m -Djava.net.preferIPv4Stack=true" JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.JBossCache210Wrapper"
\ No newline at end of file
+JVM_OPTIONS="$JVM_OPTIONS -Djava.net.preferIPv4Stack=true" JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.JBossCache210Wrapper"
\ No newline at end of file
Modified: benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.2.0/config.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.2.0/config.sh 2008-07-24 23:33:10 UTC (rev 6399)
+++ benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.2.0/config.sh 2008-07-24 23:41:31 UTC (rev 6400)
@@ -15,4 +15,4 @@
#--classpath was set
#additional JVM options
-JVM_OPTIONS="$JVM_OPTIONS -Xmx1024m -Djava.net.preferIPv4Stack=true" JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.JBossCache220Wrapper"
\ No newline at end of file
+JVM_OPTIONS="$JVM_OPTIONS -Djava.net.preferIPv4Stack=true" JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.JBossCache220Wrapper"
\ No newline at end of file
Modified: benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-3.0.0/config.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-3.0.0/config.sh 2008-07-24 23:33:10 UTC (rev 6399)
+++ benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-3.0.0/config.sh 2008-07-24 23:41:31 UTC (rev 6400)
@@ -15,4 +15,4 @@
#--classpath was set
#additional JVM options
-JVM_OPTIONS="$JVM_OPTIONS -Xmx1024m -Djava.net.preferIPv4Stack=true" JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.JBossCache300Wrapper"
\ No newline at end of file
+JVM_OPTIONS="$JVM_OPTIONS -Djava.net.preferIPv4Stack=true" JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.JBossCache300Wrapper"
\ No newline at end of file
16 years, 5 months
JBoss Cache SVN: r6399 - in benchmarks/benchmark-fwk/trunk: cache-products/coherence-3.3.1/conf and 1 other directories.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-07-24 19:33:10 -0400 (Thu, 24 Jul 2008)
New Revision: 6399
Added:
benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/conf/README.txt
benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/lib/commons-logging.jar
Modified:
benchmarks/benchmark-fwk/trunk/build.xml
Log:
Added stuff to help bench against coherence
Modified: benchmarks/benchmark-fwk/trunk/build.xml
===================================================================
--- benchmarks/benchmark-fwk/trunk/build.xml 2008-07-24 12:37:57 UTC (rev 6398)
+++ benchmarks/benchmark-fwk/trunk/build.xml 2008-07-24 23:33:10 UTC (rev 6399)
@@ -16,7 +16,14 @@
<property environment="env"/>
<property name="framework.output.dir" value="./classes/production/Framework"/>
+ <condition property="coherence.jars.present">
+ <and>
+ <available file="cache-products/coherence-3.3.1/lib/coherence.jar"/>
+ <available file="cache-products/coherence-3.3.1/lib/tangosol.jar"/>
+ </and>
+ </condition>
+
<path id="framework.module.classpath">
<fileset dir="./lib" includes="**/*.jar"/>
<pathelement location="./conf"/>
@@ -214,7 +221,7 @@
</target>
<target name="all"
- depends="clean, compile.module.framework, compile.module.coherence331, compile.module.jbosscache140, compile.module.jbosscache200, compile.module.jbosscache210, compile.module.jbosscache220, compile.module.terracotta250, compile.module.ehcache141, compile.module.whirlycache101, compile.module.jbosscache300"
+ depends="clean, compile.module.framework, compile.module.jbosscache140, compile.module.jbosscache200, compile.module.jbosscache210, compile.module.jbosscache220, compile.module.terracotta250, compile.module.ehcache141, compile.module.whirlycache101, compile.module.jbosscache300, compile.module.coherence331"
description="build all"/>
<target name="checkClusterAddresses" depends="compile.module.framework"
Added: benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/conf/README.txt
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/conf/README.txt (rev 0)
+++ benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/conf/README.txt 2008-07-24 23:33:10 UTC (rev 6399)
@@ -0,0 +1,4 @@
+Simply name your cache config file "local-*" to get a local cache, "dist-*" to get a dist cache, "repl-*" to get a
+replicated cache, "near-*" to get a near cache, "opt-*" to get an optimistic cache.
+
+The actual config file doesn't need to exist in this dir.
\ No newline at end of file
Added: benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/lib/commons-logging.jar
===================================================================
(Binary files differ)
Property changes on: benchmarks/benchmark-fwk/trunk/cache-products/coherence-3.3.1/lib/commons-logging.jar
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
16 years, 5 months
JBoss Cache SVN: r6398 - core/trunk/src/test/java/org/jboss/cache/loader.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-07-24 08:37:57 -0400 (Thu, 24 Jul 2008)
New Revision: 6398
Modified:
core/trunk/src/test/java/org/jboss/cache/loader/DummyInMemoryCacheLoader.java
Log:
null chk
Modified: core/trunk/src/test/java/org/jboss/cache/loader/DummyInMemoryCacheLoader.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/loader/DummyInMemoryCacheLoader.java 2008-07-24 09:59:21 UTC (rev 6397)
+++ core/trunk/src/test/java/org/jboss/cache/loader/DummyInMemoryCacheLoader.java 2008-07-24 12:37:57 UTC (rev 6398)
@@ -152,7 +152,7 @@
public boolean exists(Fqn name) throws Exception
{
debugMessage("Performing exists() on " + name);
- return getNodesMap().containsKey(name);
+ return getNodesMap().containsKey(name == null ? NULL : name);
}
public Object put(Fqn name, Object key, Object value) throws Exception
16 years, 5 months