[jbosscache-commits] JBoss Cache SVN: r5000 - cache-bench-fwk/trunk/src/org/cachebench/smartfrog.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Sat Jan 5 15:16:51 EST 2008
Author: mircea.markus
Date: 2008-01-05 15:16:51 -0500 (Sat, 05 Jan 2008)
New Revision: 5000
Modified:
cache-bench-fwk/trunk/src/org/cachebench/smartfrog/CacheBenchmarkPrim.java
Log:
Modified: cache-bench-fwk/trunk/src/org/cachebench/smartfrog/CacheBenchmarkPrim.java
===================================================================
--- cache-bench-fwk/trunk/src/org/cachebench/smartfrog/CacheBenchmarkPrim.java 2008-01-05 15:47:33 UTC (rev 4999)
+++ cache-bench-fwk/trunk/src/org/cachebench/smartfrog/CacheBenchmarkPrim.java 2008-01-05 20:16:51 UTC (rev 5000)
@@ -52,6 +52,25 @@
public synchronized void sfStart() throws SmartFrogException, RemoteException
{
+ Thread thread = new Thread()
+ {
+ public void run()
+ {
+ try
+ {
+ runBenchmark();
+ } catch (Exception e)
+ {
+ throw new IllegalStateException(e);
+ }
+ }
+ };
+ thread.start();
+ }
+
+ private void runBenchmark()
+ throws SmartFrogException, RemoteException
+ {
super.sfStart();
log.trace("Entered sfStart...");
if (clusterSize <= nodeIndex)
More information about the jbosscache-commits
mailing list