protected void free(final Entry entry) { for (BatchCommandData<?, ?> command : entry.getCommands()) { free(command.getParams()); } }
protected void free(final Entry entry) { for (BatchCommandData<?, ?> command : entry.getCommands()) { free(command.getParams()); } }
@Override public void operationComplete(Future<Void> future) throws Exception { if (future.isCancelled() && connectionFuture.cancel(false)) { log.debug("Connection obtaining canceled for batch"); details.getTimeout().cancel(); if (attemptPromise.cancel(false)) { free(entry); } } } };
@Override public void operationComplete(Future<Void> future) throws Exception { if (future.isCancelled() && connectionFuture.cancel(false)) { log.debug("Connection obtaining canceled for batch"); details.getTimeout().cancel(); if (attemptPromise.cancel(false)) { free(entry); } } } };
free(entry);
free(entry);
private void execute(final Entry entry, final NodeSource source, final RPromise<Void> mainPromise, final AtomicInteger slots, final int attempt, final BatchOptions options) { if (mainPromise.isCancelled()) { free(entry); return; free(entry); mainPromise.tryFailure(new RedissonShutdownException("Redisson is shutdown")); return;
private void execute(final Entry entry, final NodeSource source, final RPromise<Void> mainPromise, final AtomicInteger slots, final int attempt, final BatchOptions options) { if (mainPromise.isCancelled()) { free(entry); return; free(entry); mainPromise.tryFailure(new RedissonShutdownException("Redisson is shutdown")); return;
free(entry);
free(entry);
protected void free(final Entry entry) { for (BatchCommandData<?, ?> command : entry.getCommands()) { free(command.getParams()); } }
@Override public void operationComplete(Future<Void> future) throws Exception { if (future.isCancelled() && connectionFuture.cancel(false)) { log.debug("Connection obtaining canceled for batch"); details.getTimeout().cancel(); if (attemptPromise.cancel(false)) { free(entry); } } } };
private void execute(final Entry entry, final NodeSource source, final RPromise<Void> mainPromise, final AtomicInteger slots, final int attempt, final BatchOptions options) { if (mainPromise.isCancelled()) { free(entry); return; free(entry); mainPromise.tryFailure(new RedissonShutdownException("Redisson is shutdown")); return;