This commit is contained in:
YuTian 2024-07-22 14:48:49 +08:00
parent 142ce8ee68
commit c595b8e6ac

View File

@ -12,7 +12,7 @@ import java.io.File;
import java.time.Duration; import java.time.Duration;
import java.util.Set; import java.util.Set;
public class RedisIO { public class RedisIO implements IJedisGetter {
private JedisPool jedisPool; private JedisPool jedisPool;
@ -80,4 +80,8 @@ public class RedisIO {
} }
} }
@Override
public Jedis getRedis() {
return jedisPool.getResource();
}
} }