Search in sources :

Example 1 with GlusterServiceQueryParameters

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);
}
Also used : GlusterServiceQueryParameters(org.ovirt.engine.core.common.queries.gluster.GlusterServiceQueryParameters)

Example 2 with GlusterServiceQueryParameters

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);
}
Also used : GlusterServiceQueryParameters(org.ovirt.engine.core.common.queries.gluster.GlusterServiceQueryParameters)

Example 3 with GlusterServiceQueryParameters

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);
}
Also used : GlusterServiceQueryParameters(org.ovirt.engine.core.common.queries.gluster.GlusterServiceQueryParameters)

Aggregations

GlusterServiceQueryParameters (org.ovirt.engine.core.common.queries.gluster.GlusterServiceQueryParameters)3