forked from fanruan/finekit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
530 B
22 lines
530 B
6 years ago
|
package com.fanruan.api.cluster.state;
|
||
|
|
||
|
import com.fr.store.impl.redis.accessor.FineJedisPool;
|
||
|
import com.fr.store.impl.redis.accessor.FineJedisWrapper;
|
||
|
|
||
|
/**
|
||
|
* @author Dylan.Liu
|
||
|
* @version 10.0
|
||
|
* Created by Dylan.Liu on 2019/12/3
|
||
|
*/
|
||
|
public class FineJedisPoolKit {
|
||
|
|
||
|
/**
|
||
|
* 设置提供真实资源的 Jedis 包装对象
|
||
|
* @param jedisWrapper Jedis 包装对象
|
||
|
*/
|
||
|
public static void setRealClient(FineJedisWrapper jedisWrapper) {
|
||
|
|
||
|
FineJedisPool.getInstance().setRealClient(jedisWrapper);
|
||
|
}
|
||
|
}
|