presto-main/src/main/java/io/prestosql/execution/resourcegroups/WeightedFairQueue.java/WeightedFairQueue/addOrUpdate
class WeightedFairQueue:    public boolean addOrUpdate(E element, Usage usage)
    {
        Node<E> node = index.get(element);
        if (node != null) {
            node.update(usage);
            return false;
        }

        node = new Node<>(element, usage, currentLogicalTime++);
        index.put(element, node);
        return true;
    }