public abstract static class JedisRedisOperations.AbstractJedisCommand<C extends JedisRedisClient,R> extends AbstractRedisCommand<C,R>
Command.Runner
限定符和类型 | 字段和说明 |
---|---|
protected Command.Runner |
pipelineRunner |
protected Command.Runner |
runner |
protected Command.Runner |
transactionRunner |
client
限定符 | 构造器和说明 |
---|---|
protected |
AbstractJedisCommand(C client,
ProtocolCommand command) |
限定符和类型 | 方法和说明 |
---|---|
protected Command.Runner |
createPipelineRunner(Executor<redis.clients.jedis.Pipeline,redis.clients.jedis.Response<R>> executor) |
protected <SR> Command.Runner |
createPipelineRunner(Executor<redis.clients.jedis.Pipeline,redis.clients.jedis.Response<SR>> executor,
Converter<SR,R> converter) |
protected Command.Runner |
createTransactionRunner(Executor<redis.clients.jedis.Transaction,redis.clients.jedis.Response<R>> executor) |
protected <SR> Command.Runner |
createTransactionRunner(Executor<redis.clients.jedis.Transaction,redis.clients.jedis.Response<SR>> executor,
Converter<SR,R> converter) |
R |
execute()
执行 Redis 命令
|
protected <SV,TV> JedisResult<SV,TV> |
newJedisResult(redis.clients.jedis.Response<SV> response) |
protected <SV,TV> JedisResult<SV,TV> |
newJedisResult(redis.clients.jedis.Response<SV> response,
Converter<SV,TV> converter) |
getCommand, pipeline, run, throwNotSupportedCommandException, transaction
protected Command.Runner runner
protected Command.Runner pipelineRunner
protected Command.Runner transactionRunner
protected AbstractJedisCommand(C client, ProtocolCommand command)
public R execute() throws RedisException
Command
RedisException
- Redis 命令执行异常protected Command.Runner createPipelineRunner(Executor<redis.clients.jedis.Pipeline,redis.clients.jedis.Response<R>> executor)
protected <SR> Command.Runner createPipelineRunner(Executor<redis.clients.jedis.Pipeline,redis.clients.jedis.Response<SR>> executor, Converter<SR,R> converter)
protected Command.Runner createTransactionRunner(Executor<redis.clients.jedis.Transaction,redis.clients.jedis.Response<R>> executor)
protected <SR> Command.Runner createTransactionRunner(Executor<redis.clients.jedis.Transaction,redis.clients.jedis.Response<SR>> executor, Converter<SR,R> converter)
protected <SV,TV> JedisResult<SV,TV> newJedisResult(redis.clients.jedis.Response<SV> response)
protected <SV,TV> JedisResult<SV,TV> newJedisResult(redis.clients.jedis.Response<SV> response, Converter<SV,TV> converter)
Copyright © 2023 buession.com Inc.. All rights reserved.