api/java/src/main/java/com/navercorp/redis/cluster/connection/RedisConnectionSync.java
public void disconnect() {
        if (isConnected()) {
            try {
                inputStream.close();
                outputStream.close();
                if (!socket.isClosed()) {
                    socket.close();
                }
                disconnectedTime = System.currentTimeMillis();
                log.trace("[RedisConnectionSync] Disconnected {}", toString());
            } catch (IOException ex) {
                throw new JedisConnectionException(ex);
            }
        }
    }
public void disconnect() {
        if (isConnected()) {
            try {
                inputStream.close();
                outputStream.close();
                if (!socket.isClosed()) {
                    socket.close();
                }
                disconnectedTime = System.currentTimeMillis();
                log.trace("[RedisConnectionSync] Disconnected {}", toString());
            } catch (IOException ex) {
                throw new JedisConnectionException(ex);
            }
        }
    }
public void disconnect ( ) { if ( isConnected ( ) ) { try { inputStream . close ( ) ; outputStream . close ( ) ; if ( ! socket . isClosed ( ) ) { socket . close ( ) ; } disconnectedTime = System . currentTimeMillis ( ) ; log . trace ( "[RedisConnectionSync] Disconnected {}" , toString ( ) ) ; } catch ( IOException ex ) { throw new JedisConnectionException ( ex ) ; } } }
Disconnect.
Disconnect .