A java client for codis based on Jedis and Curator
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
scguoi opened this issue 8 years ago · comments
每次取出来的Jedis连接,没有还回去的接口,无法共享长连接池,一直使用一个对象很不靠谱。
直接close就是归还连接
这个是java语法糖,这样它自己会调用jedis.close()方法,把资源还回到pool里面去的@scguoi