Search in sources :

Example 1 with GlusterHooksListReturn

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

the class JsonRpcVdsServer method glusterHooksList.

@Override
public GlusterHooksListReturn glusterHooksList() {
    JsonRpcRequest request = new RequestBuilder("GlusterHook.list").build();
    Map<String, Object> response = new FutureMap(this.client, request).withIgnoreResponseKey();
    return new GlusterHooksListReturn(response);
}
Also used : JsonRpcRequest(org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest) RequestBuilder(org.ovirt.vdsm.jsonrpc.client.RequestBuilder) GlusterHooksListReturn(org.ovirt.engine.core.vdsbroker.gluster.GlusterHooksListReturn)

Aggregations

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