Package | Description |
---|---|
org.tinygroup.cache.redis | |
org.tinygroup.jedis | |
org.tinygroup.jedis.config | |
org.tinygroup.jedis.impl | |
org.tinygroup.jedis.shard | |
org.tinygroup.jedis.util |
Modifier and Type | Method and Description |
---|---|
JedisConfig |
JedisClient.getJedisConfig() |
Modifier and Type | Method and Description |
---|---|
redis.clients.jedis.JedisPoolConfig |
JedisClient.getJedisPoolConfig(JedisConfig jedisConfig) |
Modifier and Type | Method and Description |
---|---|
JedisConfig |
JedisManager.getJedisConfig(String jedisId)
获取jedis配置
|
Modifier and Type | Method and Description |
---|---|
void |
JedisManager.addJedisConfig(JedisConfig config)
添加jedis配置
|
void |
JedisManager.removeJedisConfig(JedisConfig config)
移除jedis配置,并移除相关的连接池
|
Modifier and Type | Method and Description |
---|---|
JedisConfig |
JedisConfigs.getDefaultJedisConfig() |
JedisConfig |
JedisSentinelConfig.getReadJedisConfig() |
Modifier and Type | Method and Description |
---|---|
List<JedisConfig> |
ShardSentinelConfig.getJedisConfigList() |
List<JedisConfig> |
JedisSentinelConfig.getJedisConfigList() |
List<JedisConfig> |
JedisConfigs.getJedisConfigList() |
Modifier and Type | Method and Description |
---|---|
void |
JedisConfigs.setDefaultJedisConfig(JedisConfig defaultJedisConfig) |
void |
JedisSentinelConfig.setReadJedisConfig(JedisConfig readJedisConfig) |
Modifier and Type | Method and Description |
---|---|
void |
ShardSentinelConfig.setJedisConfigList(List<JedisConfig> jedisConfigList) |
void |
JedisSentinelConfig.setJedisConfigList(List<JedisConfig> jedisConfigList) |
void |
JedisConfigs.setJedisConfigList(List<JedisConfig> jedisConfigList) |
Modifier and Type | Method and Description |
---|---|
JedisConfig |
JedisManagerImpl.getJedisConfig(String id) |
Modifier and Type | Method and Description |
---|---|
void |
JedisManagerImpl.addJedisConfig(JedisConfig config) |
void |
JedisManagerImpl.removeJedisConfig(JedisConfig config) |
Constructor and Description |
---|
TinyJedisShardInfo(String host,
int port,
int timeout,
List<JedisConfig> list)
host port是写服务器的,其他的是读服务器的
|
Modifier and Type | Method and Description |
---|---|
static redis.clients.jedis.JedisPool |
JedisUtil.createJedisPool(JedisConfig jedisConfig,
ClassLoader loader) |
static redis.clients.jedis.JedisShardInfo |
JedisUtil.createJedisShardInfo(JedisConfig jedisConfig) |
Copyright © 2006–2018 TinyGroup. All rights reserved.