Search in sources :

Example 1 with GlusterVolumeGeoRepEligibilityParameters

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

the class AsyncDataProvider method getGlusterVolumeGeoRepRecommendationViolations.

public void getGlusterVolumeGeoRepRecommendationViolations(AsyncQuery<List<GlusterGeoRepNonEligibilityReason>> aQuery, Guid masterVolumeId, Guid slaveVolumeId) {
    aQuery.converterCallback = new ListConverter<>();
    Frontend.getInstance().runQuery(QueryType.GetNonEligibilityReasonsOfVolumeForGeoRepSession, new GlusterVolumeGeoRepEligibilityParameters(masterVolumeId, slaveVolumeId), aQuery);
}
Also used : GlusterVolumeGeoRepEligibilityParameters(org.ovirt.engine.core.common.queries.gluster.GlusterVolumeGeoRepEligibilityParameters)

Aggregations

GlusterVolumeGeoRepEligibilityParameters (org.ovirt.engine.core.common.queries.gluster.GlusterVolumeGeoRepEligibilityParameters)1