redis.clients.jedis.params.ZIncrByParams Java Examples

The following examples show how to use redis.clients.jedis.params.ZIncrByParams. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TracingJedisWrapper.java    From java-redis-client with Apache License 2.0 5 votes vote down vote up
@Override
public Double zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params) {
  Span span = helper.buildSpan("zincrby", key);
  span.setTag("increment", increment);
  span.setTag("member", Arrays.toString(member));
  span.setTag("params", TracingHelper.toString(params.getByteParams()));
  return helper.decorate(span, () -> wrapped.zincrby(key, increment, member, params));
}
 
Example #2
Source File: TracingJedisCluster.java    From java-redis-client with Apache License 2.0 5 votes vote down vote up
@Override
public Double zincrby(String key, double increment, String member, ZIncrByParams params) {
  Span span = helper.buildSpan("zincrby", key);
  span.setTag("increment", increment);
  span.setTag("member", member);
  span.setTag("params", TracingHelper.toString(params.getByteParams()));
  return helper.decorate(span, () -> super.zincrby(key, increment, member, params));
}
 
Example #3
Source File: TracingJedisCluster.java    From java-redis-client with Apache License 2.0 5 votes vote down vote up
@Override
public Double zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params) {
  Span span = helper.buildSpan("zincrby", key);
  span.setTag("increment", increment);
  span.setTag("member", Arrays.toString(member));
  span.setTag("params", TracingHelper.toString(params.getByteParams()));
  return helper.decorate(span, () -> super.zincrby(key, increment, member, params));
}
 
Example #4
Source File: TracingJedisWrapper.java    From java-redis-client with Apache License 2.0 5 votes vote down vote up
@Override
public Double zincrby(String key, double increment, String member, ZIncrByParams params) {
  Span span = helper.buildSpan("zincrby", key);
  span.setTag("increment", increment);
  span.setTag("member", member);
  span.setTag("params", TracingHelper.toString(params.getByteParams()));
  return helper.decorate(span, () -> wrapped.zincrby(key, increment, member, params));
}
 
Example #5
Source File: InstrumentedJedis.java    From kork with Apache License 2.0 4 votes vote down vote up
@Override
public Double zincrby(byte[] key, double score, byte[] member, ZIncrByParams params) {
  String command = "zincrby";
  return instrumented(command, () -> delegated.zincrby(key, score, member, params));
}
 
Example #6
Source File: InstrumentedJedis.java    From kork with Apache License 2.0 4 votes vote down vote up
@Override
public Double zincrby(String key, double score, String member, ZIncrByParams params) {
  String command = "zincrby";
  return instrumented(command, () -> delegated.zincrby(key, score, member, params));
}
 
Example #7
Source File: InstrumentedPipeline.java    From kork with Apache License 2.0 4 votes vote down vote up
@Override
public Response<Double> zincrby(byte[] key, double score, byte[] member, ZIncrByParams params) {
  String command = "zincrby";
  return instrumented(command, () -> delegated.zincrby(key, score, member, params));
}
 
Example #8
Source File: InstrumentedPipeline.java    From kork with Apache License 2.0 4 votes vote down vote up
@Override
public Response<Double> zincrby(String key, double score, String member, ZIncrByParams params) {
  String command = "zincrby";
  return instrumented(command, () -> delegated.zincrby(key, score, member, params));
}
 
Example #9
Source File: DynoJedisClient.java    From dyno with Apache License 2.0 4 votes vote down vote up
@Override
public Double zincrby(String arg0, double arg1, String arg2, ZIncrByParams arg3) {
    throw new UnsupportedOperationException("not yet implemented");
}
 
Example #10
Source File: DynoJedisClient.java    From dyno with Apache License 2.0 4 votes vote down vote up
@Override
public Double zincrby(byte[] arg0, double arg1, byte[] arg2, ZIncrByParams arg3) {
    throw new UnsupportedOperationException("not yet implemented");
}
 
Example #11
Source File: DynoJedisPipeline.java    From dyno with Apache License 2.0 4 votes vote down vote up
@Override
public Response<Double> zincrby(byte[] key, double score, byte[] member, ZIncrByParams params) {
    throw new UnsupportedOperationException("not yet implemented");
}
 
Example #12
Source File: DynoJedisPipeline.java    From dyno with Apache License 2.0 4 votes vote down vote up
@Override
public Response<Double> zincrby(String arg0, double arg1, String arg2, ZIncrByParams arg3) {
    throw new UnsupportedOperationException("not yet implemented");
}
 
Example #13
Source File: DynoDualWriterPipeline.java    From dyno with Apache License 2.0 4 votes vote down vote up
@Override
public Response<Double> zincrby(byte[] key, double score, byte[] member, ZIncrByParams params) {
    throw new UnsupportedOperationException("not yet implemented");
}
 
Example #14
Source File: DynoDualWriterPipeline.java    From dyno with Apache License 2.0 4 votes vote down vote up
@Override
public Response<Double> zincrby(String arg0, double arg1, String arg2, ZIncrByParams arg3) {
    throw new UnsupportedOperationException("not yet implemented");
}
 
Example #15
Source File: JedisClusterCommandsWrapper.java    From quartz-redis-jobstore with Apache License 2.0 4 votes vote down vote up
@Override
public Double zincrby(String s, double v, String s1, ZIncrByParams zIncrByParams) {
    return cluster.zincrby(s, v, s1, zIncrByParams);
}
 
Example #16
Source File: JedisSentinelTest.java    From conductor with Apache License 2.0 4 votes vote down vote up
@Test
public void testZincrby() {
    jedisSentinel.zincrby("key", 1337, "member");
    jedisSentinel.zincrby("key", 1337, "member", ZIncrByParams.zIncrByParams());
}
 
Example #17
Source File: JedisClusterlTest.java    From conductor with Apache License 2.0 4 votes vote down vote up
@Test
public void testZincrby() {
    jedisCluster.zincrby("key", 1337, "member");
    jedisCluster.zincrby("key", 1337, "member", ZIncrByParams.zIncrByParams());
}
 
Example #18
Source File: JedisCluster.java    From conductor with Apache License 2.0 4 votes vote down vote up
@Override
public Double zincrby(String key, double score, String member, ZIncrByParams params) {
    return jedisCluster.zincrby(key, score, member, params);
}
 
Example #19
Source File: JedisSentinel.java    From conductor with Apache License 2.0 4 votes vote down vote up
@Override
public Double zincrby(String key, double score, String member, ZIncrByParams params) {
    try (Jedis jedis = jedisPool.getResource()) {
        return jedis.zincrby(key, score, member, params);
    }
}