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 voidfree()protected voidhandleResult(RPromise<Void> attemptPromise, RFuture<RedisConnection> connectionFuture)protected booleanisWaitCommand(CommandData<?,?> c)protected voidonException()protected voidsendCommand(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:
onExceptionin classRedisExecutor<Object,Void>
-
free
protected void free()
- Overrides:
freein classRedisExecutor<Object,Void>
-
sendCommand
protected void sendCommand(RPromise<Void> attemptPromise, RedisConnection connection)
- Overrides:
sendCommandin classRedisExecutor<Object,Void>
-
isWaitCommand
protected boolean isWaitCommand(CommandData<?,?> c)
-
handleResult
protected void handleResult(RPromise<Void> attemptPromise, RFuture<RedisConnection> connectionFuture) throws ReflectiveOperationException
- Overrides:
handleResultin classRedisExecutor<Object,Void>- Throws:
ReflectiveOperationException
-
-