public class RedisCommonBatchExecutor extends RedisExecutor<Object,Void>
| Constructor and Description |
|---|
RedisCommonBatchExecutor(NodeSource source,
RPromise<Void> mainPromise,
ConnectionManager connectionManager,
BatchOptions options,
CommandBatchService.Entry entry,
AtomicInteger slots,
RedissonObjectBuilder.ReferenceType referenceType) |
| Modifier and Type | Method and 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) |
checkAttemptPromise, convertException, execute, free, getCodec, getConnection, getRedisClient, handleError, handleSuccess, isResendAllowed, releaseConnectionpublic RedisCommonBatchExecutor(NodeSource source, RPromise<Void> mainPromise, ConnectionManager connectionManager, BatchOptions options, CommandBatchService.Entry entry, AtomicInteger slots, RedissonObjectBuilder.ReferenceType referenceType)
protected void onException()
onException in class RedisExecutor<Object,Void>protected void free()
free in class RedisExecutor<Object,Void>protected void sendCommand(RPromise<Void> attemptPromise, RedisConnection connection)
sendCommand in class RedisExecutor<Object,Void>protected boolean isWaitCommand(CommandData<?,?> c)
protected void handleResult(RPromise<Void> attemptPromise, RFuture<RedisConnection> connectionFuture) throws ReflectiveOperationException
handleResult in class RedisExecutor<Object,Void>ReflectiveOperationExceptionCopyright © 2014–2021 Redisson. All rights reserved.