Jedis 客户端源码解读
2021-11-23 20:50:09 0 举报
Jedis 客户端源码解读
作者其他创作
大纲/内容
DefaultJedisSocketFactory
String host int port int connectionTimeout int soTimeout boolean ssl SSLSocketFactory sslSocketFactory SSLParameters sslParameters HostnameVerifier hostnameVerifier
DefaultJedisSocketFactory()Socket createSocket()
Connetion
JedisSocketFactory jedisSocketFactorySocket socketRedisOutputStream outputStreamRedisInputStream inputStreamboolean broken
RedisInputStream
FilterInputStream
protected volatile InputStream in;
BinaryClient
boolean isInMulti String user String password int dbboolean isInWatch
BinaryClient(...)joinParameters()connect()disconnect()
JedisSocketFactory
Socket createSocket() throws IOException; String getDescription(); String getHost(); void setHost(String host); int getPort(); void setPort(int port); int getConnectionTimeout(); void setConnectionTimeout(int connectionTimeout); int getSoTimeout(); void setSoTimeout(int soTimeout);
Client
0 条评论
回复 删除
下一页