public class JedisUtil extends Object
Modifier and Type | Method and Description |
---|---|
static redis.clients.jedis.Jedis |
choose(List<redis.clients.jedis.Jedis> list,
List<redis.clients.jedis.Jedis> skipList) |
static List<redis.clients.jedis.Jedis> |
copy(List<redis.clients.jedis.Jedis> jedises) |
static redis.clients.jedis.JedisPool |
createJedisPool(JedisConfig jedisConfig,
ClassLoader loader) |
static redis.clients.jedis.JedisShardInfo |
createJedisShardInfo(JedisConfig jedisConfig) |
static int |
getFailOverTime() |
static redis.clients.jedis.JedisPoolConfig |
getJedisPoolConfig(String poolConfig,
ClassLoader loader) |
static List<redis.clients.jedis.Jedis> |
newList(List<redis.clients.jedis.Jedis> jedises,
List<redis.clients.jedis.Jedis> skipJedis) |
static void |
setFailOverTime(int failOverTime) |
static String |
toSimpleString(String host,
int port) |
public static int getFailOverTime()
public static void setFailOverTime(int failOverTime)
public static redis.clients.jedis.JedisPool createJedisPool(JedisConfig jedisConfig, ClassLoader loader)
public static redis.clients.jedis.JedisPoolConfig getJedisPoolConfig(String poolConfig, ClassLoader loader)
public static redis.clients.jedis.JedisShardInfo createJedisShardInfo(JedisConfig jedisConfig)
public static redis.clients.jedis.Jedis choose(List<redis.clients.jedis.Jedis> list, List<redis.clients.jedis.Jedis> skipList)
public static List<redis.clients.jedis.Jedis> newList(List<redis.clients.jedis.Jedis> jedises, List<redis.clients.jedis.Jedis> skipJedis)
Copyright © 2006–2018 TinyGroup. All rights reserved.