v2.3
This commit is contained in:
parent
142ce8ee68
commit
c595b8e6ac
|
@ -12,7 +12,7 @@ import java.io.File;
|
|||
import java.time.Duration;
|
||||
import java.util.Set;
|
||||
|
||||
public class RedisIO {
|
||||
public class RedisIO implements IJedisGetter {
|
||||
|
||||
private JedisPool jedisPool;
|
||||
|
||||
|
@ -80,4 +80,8 @@ public class RedisIO {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Jedis getRedis() {
|
||||
return jedisPool.getResource();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user