public class VMDiskStatistics extends CollectionDecorator<Statistic,Statistics,VMDiskStatistic>
VMDiskStatistics providing relation and functional services
to Statistics
.
Constructor and Description |
---|
VMDiskStatistics(HttpProxyBroker proxy,
VMDisk parent) |
Modifier and Type | Method and Description |
---|---|
VMDiskStatistic |
get(UUID id)
Fetches VMDiskStatistic object by id.
|
List<VMDiskStatistic> |
list()
Lists VMDiskStatistic objects.
|
get
public VMDiskStatistics(HttpProxyBroker proxy, VMDisk parent)
proxy
- HttpProxyBrokerparent
- VMDiskpublic List<VMDiskStatistic> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<Statistic,Statistics,VMDiskStatistic>
VMDiskStatistic
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public VMDiskStatistic get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<Statistic,Statistics,VMDiskStatistic>
id
- entity idVMDiskStatistic
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0