public Optional<Target> targetOf(String dnsName, RoutingMethod routingMethod) {
        return Optional.ofNullable(table.get(new Endpoint(dnsName, routingMethod)));
    }
Returns the target for given dnsName, if any
routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/RoutingTable.java