Search in sources :

Example 1 with GlusterVolumesHealInfoReturn

use of org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesHealInfoReturn in project ovirt-engine by oVirt.

the class JsonRpcVdsServer method glusterVolumeHealInfo.

@Override
public GlusterVolumesHealInfoReturn glusterVolumeHealInfo(String volumeName) {
    JsonRpcRequest request = new RequestBuilder("GlusterVolume.healInfo").withParameter("volumeName", volumeName).build();
    Map<String, Object> response = new FutureMap(this.client, request).withIgnoreResponseKey();
    return new GlusterVolumesHealInfoReturn(response);
}
Also used : JsonRpcRequest(org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest) RequestBuilder(org.ovirt.vdsm.jsonrpc.client.RequestBuilder) GlusterVolumesHealInfoReturn(org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesHealInfoReturn)

Aggregations

GlusterVolumesHealInfoReturn (org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesHealInfoReturn)1 JsonRpcRequest (org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest)1 RequestBuilder (org.ovirt.vdsm.jsonrpc.client.RequestBuilder)1