public abstract class AbstractRedisClientFactory extends Object
Constructor and Description |
---|
AbstractRedisClientFactory() |
Modifier and Type | Method and Description |
---|---|
io.lettuce.core.RedisClient |
redisClient(AbstractRedisConfiguration config)
Creates the
RedisClient from the configuration. |
io.lettuce.core.api.StatefulRedisConnection<String,String> |
redisConnection(io.lettuce.core.RedisClient redisClient)
Creates the
StatefulRedisConnection from the RedisClient . |
io.lettuce.core.pubsub.StatefulRedisPubSubConnection<String,String> |
redisPubSubConnection(io.lettuce.core.RedisClient redisClient)
Creates the
StatefulRedisPubSubConnection from the RedisClient . |
public io.lettuce.core.RedisClient redisClient(AbstractRedisConfiguration config)
RedisClient
from the configuration.config
- The configurationRedisClient
public io.lettuce.core.api.StatefulRedisConnection<String,String> redisConnection(io.lettuce.core.RedisClient redisClient)
StatefulRedisConnection
from the RedisClient
.redisClient
- The RedisClient
StatefulRedisConnection
public io.lettuce.core.pubsub.StatefulRedisPubSubConnection<String,String> redisPubSubConnection(io.lettuce.core.RedisClient redisClient)
StatefulRedisPubSubConnection
from the RedisClient
.redisClient
- The RedisClient
StatefulRedisPubSubConnection