List<Integer> getRoutableTypes(Version version) {
        List<Integer> ret = new ArrayList<>();
        for (Map.Entry<Integer, VersionMap> entry : factoryTypes.entrySet()) {
            if (entry.getValue().getFactory(version) != null) {
                ret.add(entry.getKey());
            }
        }
        return ret;
    }
Returns a list of routable types that support the given version.

@param version The version to return types for.
@return The list of supported types.
documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/RoutableRepository.java