public abstract class AbstractRedisClientFactory
extends java.lang.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.RedisClient |
redisClient(AbstractRedisConfiguration config,
io.lettuce.core.resource.ClientResources optionalClientResources)
Deprecated.
|
io.lettuce.core.RedisClient |
redisClient(AbstractRedisConfiguration config,
io.lettuce.core.resource.ClientResources optionalClientResources,
java.util.List<ClientResourcesMutator> mutators)
Creates the
RedisClient from the configuration. |
io.lettuce.core.api.StatefulRedisConnection<java.lang.String,java.lang.String> |
redisConnection(io.lettuce.core.RedisClient redisClient)
Creates the
StatefulRedisConnection from the RedisClient . |
io.lettuce.core.pubsub.StatefulRedisPubSubConnection<java.lang.String,java.lang.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.RedisClient redisClient(AbstractRedisConfiguration config, @Nullable io.lettuce.core.resource.ClientResources optionalClientResources, @Nullable java.util.List<ClientResourcesMutator> mutators)
RedisClient
from the configuration.config
- The configurationoptionalClientResources
- The ClientResourcesmutators
- The list of mutatorsRedisClient
@Deprecated public io.lettuce.core.RedisClient redisClient(AbstractRedisConfiguration config, @Nullable io.lettuce.core.resource.ClientResources optionalClientResources)
redisClient(AbstractRedisConfiguration, ClientResources, List)
insteadRedisClient
from the configuration.config
- The configurationoptionalClientResources
- The ClientResourcesRedisClient
public io.lettuce.core.api.StatefulRedisConnection<java.lang.String,java.lang.String> redisConnection(io.lettuce.core.RedisClient redisClient)
StatefulRedisConnection
from the RedisClient
.redisClient
- The RedisClient
StatefulRedisConnection
public io.lettuce.core.pubsub.StatefulRedisPubSubConnection<java.lang.String,java.lang.String> redisPubSubConnection(io.lettuce.core.RedisClient redisClient)
StatefulRedisPubSubConnection
from the RedisClient
.redisClient
- The RedisClient
StatefulRedisPubSubConnection