presto-main/src/main/java/io/prestosql/dispatcher/DispatchManager.java/DispatchManager/getDispatchInfo
class DispatchManager:    public Optional<DispatchInfo> getDispatchInfo(QueryId queryId)
    {
        return queryTracker.tryGetQuery(queryId)
                .map(dispatchQuery -> {
                    dispatchQuery.recordHeartbeat();
                    return dispatchQuery.getDispatchInfo();
                });
    }