Ejemplo n.º 1
0
  public LatencyBenchmark(final JedisExecutor pooledJedisExecutor) {

    this.jedisPublisherAndPrototype = null;

    LuaQScripts.loadMissingScripts(pooledJedisExecutor);

    this.luaQ = new LuaQ(pooledJedisExecutor, ThroughputBenchmark.class.getSimpleName());
  }
Ejemplo n.º 2
0
  public LatencyBenchmark(final Jedis jedis) {

    this.jedisPublisherAndPrototype = jedis;

    final JedisExecutor jedisExecutor = new DirectJedisExecutor(jedis);

    LuaQScripts.loadMissingScripts(jedisExecutor);

    this.luaQ = new LuaQ(jedisExecutor, ThroughputBenchmark.class.getSimpleName());
  }