api/java/src/main/java/com/navercorp/redis/cluster/connection/RedisConnectionSync.java
public void sendCommand(final Command cmd, final byte[]... args) {
        log.trace("[RedisConnectionSync] Command={} {}", cmd.name(), toStringArgs(args));
        connect();
        RedisProtocol.sendCommand(outputStream, cmd, args);
        this.pipelinedCommands++;
    }
public void sendCommand(final Command cmd, final byte[]... args) {
        log.trace("[RedisConnectionSync] Command={} {}", cmd.name(), toStringArgs(args));
        connect();
        RedisProtocol.sendCommand(outputStream, cmd, args);
        this.pipelinedCommands++;
    }
Send command.

@param cmd  the cmd
@param args the args
@return the redis connection