use of org.ovirt.engine.core.common.queries.GetValidHostsForVmsParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getValidHostsForVms.
public void getValidHostsForVms(AsyncQuery<List<VDS>> aQuery, List<VM> vms, Guid clusterId) {
GetValidHostsForVmsParameters params = new GetValidHostsForVmsParameters(vms, clusterId);
aQuery.converterCallback = new ListConverter<>();
Frontend.getInstance().runQuery(QueryType.GetValidHostsForVms, params, aQuery);
}
Aggregations