All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.chanjar.weixin.cp.config.impl.WxCpJedisConfigImpl Maven / Gradle / Ivy

There is a newer version: 4.6.7.B
Show newest version
package me.chanjar.weixin.cp.config.impl;

import lombok.NonNull;
import me.chanjar.weixin.common.redis.JedisWxRedisOps;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.util.Pool;

/**
 * 基于 jdis 的实现
 *
 * @author yl
 * created on  2023/04/23
 */
public class WxCpJedisConfigImpl extends AbstractWxCpInRedisConfigImpl {
  private static final long serialVersionUID = -1869372247414407433L;

  public WxCpJedisConfigImpl(Pool jedisPool) {
    this(jedisPool, null);
  }

  public WxCpJedisConfigImpl(@NonNull Pool jedisPool, String keyPrefix) {
    super(new JedisWxRedisOps(jedisPool), keyPrefix);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy