public abstract class AbstractRedisClient extends Object implements RedisClient
限定符和类型 | 字段和说明 |
---|---|
protected org.slf4j.Logger |
logger |
构造器和说明 |
---|
AbstractRedisClient()
构造函数
|
AbstractRedisClient(RedisConnection connection)
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
<R> R |
execute(Command<R> command,
CommandArguments arguments)
执行命令
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bitMapOperations, clusterOperations, connectionOperations, execute, geoOperations, getConnection, hashOperations, hyperLogLogOperations, keyOperations, listOperations, pubSubOperations, scriptingOperations, serverOperations, setConnection, setOperations, sortedSetOperations, streamOperations, stringOperations, transactionOperations
public AbstractRedisClient()
public AbstractRedisClient(RedisConnection connection)
connection
- Redis 连接对象 RedisConnection
public <R> R execute(Command<R> command, CommandArguments arguments)
RedisClient
execute
在接口中 RedisClient
R
- 返回值类型command
- 命令对象arguments
- 命令参数对象Copyright © 2023 buession.com Inc.. All rights reserved.