Search in sources :

Example 1 with GetHostsForStorageOperationParameters

use of org.ovirt.engine.core.common.queries.GetHostsForStorageOperationParameters in project ovirt-engine by oVirt.

the class AsyncDataProvider method getHostsForStorageOperation.

public void getHostsForStorageOperation(AsyncQuery<List<VDS>> aQuery, Guid storagePoolId, boolean localFsOnly) {
    aQuery.converterCallback = new ListConverter<>();
    Frontend.getInstance().runQuery(QueryType.GetHostsForStorageOperation, new GetHostsForStorageOperationParameters(storagePoolId, localFsOnly), aQuery);
}
Also used : GetHostsForStorageOperationParameters(org.ovirt.engine.core.common.queries.GetHostsForStorageOperationParameters)

Aggregations

GetHostsForStorageOperationParameters (org.ovirt.engine.core.common.queries.GetHostsForStorageOperationParameters)1