Search in sources :

Example 1 with IrsStatsAndStatus

use of org.ovirt.engine.core.vdsbroker.irsbroker.IrsStatsAndStatus in project ovirt-engine by oVirt.

the class JsonRpcIIrsServer method getIrsStats.

@Override
public IrsStatsAndStatus getIrsStats() {
    JsonRpcRequest request = new RequestBuilder("Host.getStorageRepoStats").build();
    Map<String, Object> response = new FutureMap(this.client, request).withResponseKey("stats");
    return new IrsStatsAndStatus(response);
}
Also used : JsonRpcRequest(org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest) RequestBuilder(org.ovirt.vdsm.jsonrpc.client.RequestBuilder) IrsStatsAndStatus(org.ovirt.engine.core.vdsbroker.irsbroker.IrsStatsAndStatus)

Aggregations

IrsStatsAndStatus (org.ovirt.engine.core.vdsbroker.irsbroker.IrsStatsAndStatus)1 JsonRpcRequest (org.ovirt.vdsm.jsonrpc.client.JsonRpcRequest)1 RequestBuilder (org.ovirt.vdsm.jsonrpc.client.RequestBuilder)1