Class StatisticsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.StatisticsServiceImpl
-
- All Implemented Interfaces:
Service
,StatisticsService
public class StatisticsServiceImpl extends ServiceImpl implements StatisticsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.StatisticsService
StatisticsService.ListRequest, StatisticsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description StatisticsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatisticsService.ListRequest
list()
Retrieves a list of statistics.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.StatisticService
statisticService(String id)
String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
StatisticsServiceImpl
public StatisticsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
list
public StatisticsService.ListRequest list()
Description copied from interface:StatisticsService
Retrieves a list of statistics. For example, to retrieve the statistics for virtual machine `123` send a request like this: [source] ---- GET /ovirt-engine/api/vms/123/statistics ---- The result will be like this: [source,xml] ----memory.installed Total memory configured gauge integer bytes 1073741824 memory.installed Total memory configured gauge integer bytes 1073741824 - Specified by:
list
in interfaceStatisticsService
-
statisticService
public StatisticService statisticService(String id)
- Specified by:
statisticService
in interfaceStatisticsService
-
service
public Service service(String path)
Description copied from interface:StatisticsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceStatisticsService
-
-