Fixed EOFException issue with JedisPool. Was trying to reuse a broken Jedis

This commit is contained in:
Jonathan Leibiusky
2010-09-04 11:29:54 -03:00
parent 00dedc5f25
commit 68905396d5
5 changed files with 70 additions and 13 deletions

View File

@@ -787,4 +787,8 @@ public class Jedis {
client.configSet(parameter, value);
return client.getStatusCodeReply();
}
public boolean isConnected() {
return client.isConnected();
}
}