use of org.ovirt.engine.core.common.queries.gluster.GlusterServiceQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getClusterGlusterSwiftService.
public void getClusterGlusterSwiftService(AsyncQuery<GlusterClusterService> aQuery, Guid clusterId) {
aQuery.converterCallback = new GetFirstConverter<>();
Frontend.getInstance().runQuery(QueryType.GetGlusterClusterServiceByClusterId, new GlusterServiceQueryParameters(clusterId, ServiceType.GLUSTER_SWIFT), aQuery);
}
use of org.ovirt.engine.core.common.queries.gluster.GlusterServiceQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getGlusterSwiftServices.
public void getGlusterSwiftServices(AsyncQuery<List<GlusterServerService>> aQuery, Guid serverId) {
aQuery.converterCallback = new ListConverter<>();
Frontend.getInstance().runQuery(QueryType.GetGlusterServerServicesByServerId, new GlusterServiceQueryParameters(serverId, ServiceType.GLUSTER_SWIFT), aQuery);
}
use of org.ovirt.engine.core.common.queries.gluster.GlusterServiceQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getGlusterSwiftServerServices.
public void getGlusterSwiftServerServices(AsyncQuery<List<GlusterServerService>> aQuery, Guid clusterId) {
aQuery.converterCallback = new ListConverter<>();
Frontend.getInstance().runQuery(QueryType.GetGlusterServerServicesByClusterId, new GlusterServiceQueryParameters(clusterId, ServiceType.GLUSTER_SWIFT), aQuery);
}
Aggregations