@Override
    public void run() {
      String keyBase = "testKey";

      long begin = System.currentTimeMillis();
      for (int i = stat.start; i < stat.start + stat.runs; i++) {
        String str = (String) mc.get("" + i + keyBase);
        assert str != null;
      }
      long end = System.currentTimeMillis();

      stat.getterTime = end - begin;
    }
Adaptation of http://code.google.com/p/spcached/wiki/benchmarktool.
src/test/manual/net/spy/memcached/test/MemcachedThreadBench.java