Search in sources :

Example 1 with GlusterVolumeQueriesParameters

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

the class AsyncDataProvider method getGlusterRebalanceStatus.

public void getGlusterRebalanceStatus(AsyncQuery<QueryReturnValue> aQuery, Guid clusterId, Guid volumeId) {
    aQuery.setHandleFailure(true);
    GlusterVolumeQueriesParameters parameters = new GlusterVolumeQueriesParameters(clusterId, volumeId);
    Frontend.getInstance().runQuery(QueryType.GetGlusterVolumeRebalanceStatus, parameters, aQuery);
}
Also used : GlusterVolumeQueriesParameters(org.ovirt.engine.core.common.queries.gluster.GlusterVolumeQueriesParameters)

Example 2 with GlusterVolumeQueriesParameters

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

the class AsyncDataProvider method getGlusterSnapshotConfig.

public void getGlusterSnapshotConfig(AsyncQuery<QueryReturnValue> aQuery, Guid clusterId, Guid volumeId) {
    aQuery.setHandleFailure(true);
    Frontend.getInstance().runQuery(QueryType.GetGlusterVolumeSnapshotConfig, new GlusterVolumeQueriesParameters(clusterId, volumeId), aQuery);
}
Also used : GlusterVolumeQueriesParameters(org.ovirt.engine.core.common.queries.gluster.GlusterVolumeQueriesParameters)

Aggregations

GlusterVolumeQueriesParameters (org.ovirt.engine.core.common.queries.gluster.GlusterVolumeQueriesParameters)2