public interface StandaloneConnectionProvider extends ConnectionProvider
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
StandaloneConnectionProvider.DatabaseProvider
Gets Setting database.
|
ConnectionProvider.ClientProvider| 限定符和类型 | 方法和说明 |
|---|---|
default <T extends io.lettuce.core.api.StatefulConnection<?,?>> |
getConnection(Class<T> connectionType,
io.lettuce.core.RedisURI redisUri)
RedisClient.connect(io.lettuce.core.codec.RedisCodec, RedisURI) |
<T extends io.lettuce.core.api.StatefulConnection<?,?>> |
getConnectionAsync(Class<T> connectionType,
io.lettuce.core.RedisURI redisUri)
RedisClient.connectAsync(io.lettuce.core.codec.RedisCodec, RedisURI) |
getConnection, getConnectionAsync, release, releaseAsync<T extends io.lettuce.core.api.StatefulConnection<?,?>> CompletionStage<T> getConnectionAsync(Class<T> connectionType, io.lettuce.core.RedisURI redisUri)
RedisClient.connectAsync(io.lettuce.core.codec.RedisCodec, RedisURI)default <T extends io.lettuce.core.api.StatefulConnection<?,?>> T getConnection(Class<T> connectionType, io.lettuce.core.RedisURI redisUri)
RedisClient.connect(io.lettuce.core.codec.RedisCodec, RedisURI)Copyright © 2020. All rights reserved.