@Override protected void doClose() { LettuceKeyCommands.this.connection.close(); }
@Override protected void doClose() { LettuceZSetCommands.this.connection.close(); }
@Override protected void doClose() { LettuceHashCommands.this.connection.close(); }
protected void doClose() { LettuceSetCommands.this.connection.close(); }
/** * {@link #close()} the current connection and open a new pub/sub connection to the Redis server. * * @return never {@literal null}. */ @SuppressWarnings("unchecked") protected StatefulRedisPubSubConnection<byte[], byte[]> switchToPubSub() { close(); return connectionProvider.getConnection(StatefulRedisPubSubConnection.class); }
@Override public void close() throws DataAccessException { if (!isClosed() && disposeClusterCommandExecutorOnClose) { try { clusterCommandExecutor.destroy(); } catch (Exception ex) { log.warn("Cannot properly close cluster command executor", ex); } } super.close(); }
protected void doClose() { LettuceSetCommands.this.connection.close(); }
@Override protected void doClose() { LettuceZSetCommands.this.connection.close(); }
@Override protected void doClose() { LettuceHashCommands.this.connection.close(); }
@Override protected void doClose() { LettuceKeyCommands.this.connection.close(); }
@Override protected void doClose() { LettuceHashCommands.this.connection.close(); }
@Override protected void doClose() { LettuceZSetCommands.this.connection.close(); }
protected void doClose() { LettuceSetCommands.this.connection.close(); }
@Override protected void doClose() { LettuceKeyCommands.this.connection.close(); }
/** * {@link #close()} the current connection and open a new pub/sub connection to the Redis server. * * @return never {@literal null}. */ @SuppressWarnings("unchecked") protected StatefulRedisPubSubConnection<byte[], byte[]> switchToPubSub() { close(); return connectionProvider.getConnection(StatefulRedisPubSubConnection.class); }
/** * {@link #close()} the current connection and open a new pub/sub connection to the Redis server. * * @return never {@literal null}. */ @SuppressWarnings("unchecked") protected StatefulRedisPubSubConnection<byte[], byte[]> switchToPubSub() { close(); return connectionProvider.getConnection(StatefulRedisPubSubConnection.class); }
@Override public void close() throws DataAccessException { if (!isClosed() && disposeClusterCommandExecutorOnClose) { try { clusterCommandExecutor.destroy(); } catch (Exception ex) { log.warn("Cannot properly close cluster command executor", ex); } } super.close(); }
@Override public void close() throws DataAccessException { if (!isClosed() && disposeClusterCommandExecutorOnClose) { try { clusterCommandExecutor.destroy(); } catch (Exception ex) { log.warn("Cannot properly close cluster command executor", ex); } } super.close(); }