[jboss-cvs] JBossCache/tests/perf/org/jboss/cache/manualtests ...
Manik Surtani
msurtani at jboss.com
Sat Dec 30 12:50:04 EST 2006
User: msurtani
Date: 06/12/30 12:50:04
Modified: tests/perf/org/jboss/cache/manualtests
TcpCacheLoaderTest.java
Log:
Major changes to restructure cache and node object model
Revision Changes Path
1.4 +6 -6 JBossCache/tests/perf/org/jboss/cache/manualtests/TcpCacheLoaderTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TcpCacheLoaderTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/manualtests/TcpCacheLoaderTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- TcpCacheLoaderTest.java 26 Oct 2006 19:30:21 -0000 1.3
+++ TcpCacheLoaderTest.java 30 Dec 2006 17:50:04 -0000 1.4
@@ -2,21 +2,21 @@
import junit.textui.TestRunner;
import org.jboss.cache.CacheException;
-import org.jboss.cache.TreeCache;
+import org.jboss.cache.CacheImpl;
import org.jboss.cache.config.CacheLoaderConfig;
import org.jboss.cache.loader.AbstractCacheLoaderTestBase;
-import org.jboss.cache.loader.TcpDelegatingCacheLoaderConfig;
import org.jboss.cache.loader.JDBCCacheLoaderPerfTest;
+import org.jboss.cache.loader.TcpDelegatingCacheLoaderConfig;
public class TcpCacheLoaderTest extends AbstractCacheLoaderTestBase
{
- private TreeCache cache;
+ private CacheImpl cache;
private static final int serverPort = 7500;
private static final String serverHost = "127.0.0.1";
protected void setUp() throws Exception
{
- cache = new TreeCache();
+ cache = new CacheImpl();
CacheLoaderConfig clc = new CacheLoaderConfig();
TcpDelegatingCacheLoaderConfig cfg = new TcpDelegatingCacheLoaderConfig();
cfg.setHost(serverHost);
@@ -79,11 +79,11 @@
private class Runner extends Thread
{
- private TreeCache cache;
+ private CacheImpl cache;
private int n;
long totalTime;
- public Runner(TreeCache cache, int n, String instanceName)
+ public Runner(CacheImpl cache, int n, String instanceName)
{
super(instanceName);
this.cache = cache;
More information about the jboss-cvs-commits
mailing list