From jbosscache-commits at lists.jboss.org Wed Apr 15 07:34:37 2009 Content-Type: multipart/mixed; boundary="===============8798610567928096105==" MIME-Version: 1.0 From: jbosscache-commits at lists.jboss.org To: jbosscache-commits at lists.jboss.org Subject: [jbosscache-commits] JBoss Cache SVN: r7983 - benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-1.4.1/src/org/cachebench/cachewrappers. Date: Wed, 15 Apr 2009 07:34:37 -0400 Message-ID: --===============8798610567928096105== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/c= achebench/cachewrappers/JBossCacheWrapper.java Log: Implemented getReplicatedData() for 1.4.x. Modified: benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-1.4.1/sr= c/org/cachebench/cachewrappers/JBossCacheWrapper.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-1.4.1/src/org/= cachebench/cachewrappers/JBossCacheWrapper.java 2009-04-14 12:32:05 UTC (re= v 7982) +++ benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-1.4.1/src/org/= cachebench/cachewrappers/JBossCacheWrapper.java 2009-04-15 11:34:36 UTC (re= v 7983) @@ -14,6 +14,7 @@ * An implementation of CacheWrapper that uses JBossCache as an underlying= implementation. * * @author Manik Surtani (manik(a)surtani.org) + * @author Galder Zamarren= o * @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 l, String key) + public Object getReplicatedData(List l, String key) throws Exce= ption { - return null; = + return tree.get(key.toString()); = } = public Transaction startTransaction() --===============8798610567928096105==--