|
@@ -56,6 +56,17 @@ public class JedisProperties implements Serializable {
|
|
|
this.pool = pool;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "JedisProperties{" +
|
|
|
+ "keyPrefix='" + keyPrefix + '\'' +
|
|
|
+ ", host='" + host + '\'' +
|
|
|
+ ", port='" + port + '\'' +
|
|
|
+ ", pool=" + pool +
|
|
|
+ ", password='" + password + '\'' +
|
|
|
+ '}';
|
|
|
+ }
|
|
|
+
|
|
|
public static class Pool {
|
|
|
private String maxIdle;
|
|
|
private String maxWait;
|
|
@@ -93,6 +104,16 @@ public class JedisProperties implements Serializable {
|
|
|
public void setTestOnBorrow(String testOnBorrow) {
|
|
|
this.testOnBorrow = testOnBorrow;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "Pool{" +
|
|
|
+ "maxIdle='" + maxIdle + '\'' +
|
|
|
+ ", maxWait='" + maxWait + '\'' +
|
|
|
+ ", maxTotal='" + maxTotal + '\'' +
|
|
|
+ ", testOnBorrow='" + testOnBorrow + '\'' +
|
|
|
+ '}';
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|