Package org.redisson.command
Class RedisCommonBatchExecutor
- java.lang.Object
-
- org.redisson.command.RedisExecutor<Object,Void>
-
- org.redisson.command.RedisCommonBatchExecutor
-
public class RedisCommonBatchExecutor extends RedisExecutor<Object,Void>
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description RedisCommonBatchExecutor(NodeSource source, RPromise<Void> mainPromise, ConnectionManager connectionManager, BatchOptions options, CommandBatchService.Entry entry, AtomicInteger slots, RedissonObjectBuilder.ReferenceType referenceType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
free()
protected void
handleResult(RPromise<Void> attemptPromise, RFuture<RedisConnection> connectionFuture)
protected boolean
isWaitCommand(CommandData<?,?> c)
protected void
onException()
protected void
sendCommand(RPromise<Void> attemptPromise, RedisConnection connection)
-
Methods inherited from class org.redisson.command.RedisExecutor
checkAttemptPromise, convertException, execute, free, getCodec, getConnection, getRedisClient, handleError, handleSuccess, isResendAllowed, releaseConnection
-
-
-
-
Constructor Detail
-
RedisCommonBatchExecutor
public RedisCommonBatchExecutor(NodeSource source, RPromise<Void> mainPromise, ConnectionManager connectionManager, BatchOptions options, CommandBatchService.Entry entry, AtomicInteger slots, RedissonObjectBuilder.ReferenceType referenceType)
-
-
Method Detail
-
onException
protected void onException()
- Overrides:
onException
in classRedisExecutor<Object,Void>
-
free
protected void free()
- Overrides:
free
in classRedisExecutor<Object,Void>
-
sendCommand
protected void sendCommand(RPromise<Void> attemptPromise, RedisConnection connection)
- Overrides:
sendCommand
in classRedisExecutor<Object,Void>
-
isWaitCommand
protected boolean isWaitCommand(CommandData<?,?> c)
-
handleResult
protected void handleResult(RPromise<Void> attemptPromise, RFuture<RedisConnection> connectionFuture) throws ReflectiveOperationException
- Overrides:
handleResult
in classRedisExecutor<Object,Void>
- Throws:
ReflectiveOperationException
-
-