public class TinyJedisShardInfo
extends redis.clients.jedis.JedisShardInfo
Constructor and Description |
---|
TinyJedisShardInfo(String host,
int port,
int timeout,
List<JedisConfig> list)
host port是写服务器的,其他的是读服务器的
|
Modifier and Type | Method and Description |
---|---|
List<redis.clients.jedis.Jedis> |
createAllReadResource() |
public TinyJedisShardInfo(String host, int port, int timeout, List<JedisConfig> list)
host
- port
- timeout
- list
- public List<redis.clients.jedis.Jedis> createAllReadResource()
Copyright © 2006–2018 TinyGroup. All rights reserved.