コード例 #1
0
  public LatencyBenchmark(final JedisExecutor pooledJedisExecutor) {

    this.jedisPublisherAndPrototype = null;

    LuaQScripts.loadMissingScripts(pooledJedisExecutor);

    this.luaQ = new LuaQ(pooledJedisExecutor, ThroughputBenchmark.class.getSimpleName());
  }
コード例 #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());
  }