Search in sources :

Example 1 with GetConnectionsByDataCenterAndStorageTypeParameters

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

the class AsyncDataProvider method getStorageConnectionsByDataCenterIdAndStorageType.

public void getStorageConnectionsByDataCenterIdAndStorageType(AsyncQuery<List<StorageServerConnections>> aQuery, Guid storagePoolId, StorageType storageType) {
    aQuery.converterCallback = new CastingConverter<>();
    GetConnectionsByDataCenterAndStorageTypeParameters params = new GetConnectionsByDataCenterAndStorageTypeParameters(storagePoolId, storageType);
    Frontend.getInstance().runQuery(QueryType.GetConnectionsByDataCenterAndStorageType, params, aQuery);
}
Also used : GetConnectionsByDataCenterAndStorageTypeParameters(org.ovirt.engine.core.common.queries.GetConnectionsByDataCenterAndStorageTypeParameters)

Aggregations

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