@Override
    public ClickHouseNode apply(ClickHouseNodeSelector t) {
        final ClickHouseNodeManager m = manager.get();
        if (m != null) { // managed
            return m.apply(m.getNodeSelector());
        }

        if (t != null && t != ClickHouseNodeSelector.EMPTY
                && (!t.matchAnyOfPreferredProtocols(protocol) || !t.matchAllPreferredTags(tags))) {
            throw new IllegalArgumentException(ClickHouseUtils.format("%s expects a node rather than %s", t, this));
        }
        return this;
    }
Updates status of the node. This will only work when the node is
managed({@link #isManaged()} returns {@code true}).

@param status non-null node status
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseNode.java