Author: galder.zamarreno(a)jboss.com
Date: 2009-04-15 07:34:36 -0400 (Wed, 15 Apr 2009)
New Revision: 7983
Modified:
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-1.4.1/src/org/cachebench/cachewrappers/JBossCacheWrapper.java
Log:
Implemented getReplicatedData() for 1.4.x.
Modified:
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-1.4.1/src/org/cachebench/cachewrappers/JBossCacheWrapper.java
===================================================================
---
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-1.4.1/src/org/cachebench/cachewrappers/JBossCacheWrapper.java 2009-04-14
12:32:05 UTC (rev 7982)
+++
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-1.4.1/src/org/cachebench/cachewrappers/JBossCacheWrapper.java 2009-04-15
11:34:36 UTC (rev 7983)
@@ -14,6 +14,7 @@
* An implementation of CacheWrapper that uses JBossCache as an underlying
implementation.
*
* @author Manik Surtani (manik(a)surtani.org)
+ * @author <a href="mailto:galder.zamarreno@jboss.com">Galder
Zamarreno</a>
* @version $Id: JBossCacheWrapper.java,v 1.1 2007/05/17 08:13:46 msurtani Exp $
*/
public class JBossCacheWrapper implements CacheWrapper
@@ -70,9 +71,9 @@
return tree.printDetails();
}
- public Object getReplicatedData(List<String> l, String key)
+ public Object getReplicatedData(List<String> l, String key) throws Exception
{
- return null;
+ return tree.get(key.toString());
}
public Transaction startTransaction()
Show replies by thread