presto-main/src/main/java/io/prestosql/execution/QueryTracker.java/QueryTracker/addQuery
class QueryTracker:    public boolean addQuery(T execution)
    {
        return queries.putIfAbsent(execution.getQueryId(), execution) == null;
    }