Package org.redisson.command
Class RedisCommonBatchExecutor
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorsConstructorDescriptionRedisCommonBatchExecutor(NodeSource source, CompletableFuture<Void> mainPromise, ConnectionManager connectionManager, BatchOptions options, CommandBatchService.Entry entry, AtomicInteger slots, RedissonObjectBuilder.ReferenceType referenceType, boolean noRetry) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfree()protected voidhandleResult(CompletableFuture<Void> attemptPromise, CompletableFuture<RedisConnection> connectionFuture) protected booleanisWaitCommand(CommandData<?, ?> c) protected voidprotected voidsendCommand(CompletableFuture<Void> attemptPromise, RedisConnection connection) Methods inherited from class org.redisson.command.RedisExecutor
cause, checkAttemptPromise, execute, free, getCodec, getConnection, getNow, getRedisClient, handleError, handleSuccess, releaseConnection
-
Constructor Details
-
RedisCommonBatchExecutor
public RedisCommonBatchExecutor(NodeSource source, CompletableFuture<Void> mainPromise, ConnectionManager connectionManager, BatchOptions options, CommandBatchService.Entry entry, AtomicInteger slots, RedissonObjectBuilder.ReferenceType referenceType, boolean noRetry)
-
-
Method Details
-
onException
protected void onException()- Overrides:
onExceptionin classRedisExecutor<Object,Void>
-
free
protected void free()- Overrides:
freein classRedisExecutor<Object,Void>
-
sendCommand
- Overrides:
sendCommandin classRedisExecutor<Object,Void>
-
isWaitCommand
-
handleResult
protected void handleResult(CompletableFuture<Void> attemptPromise, CompletableFuture<RedisConnection> connectionFuture) throws ReflectiveOperationException - Overrides:
handleResultin classRedisExecutor<Object,Void> - Throws:
ReflectiveOperationException
-