public class DiskStatistics extends CollectionDecorator<Statistic,Statistics,DiskStatistic>
DiskStatistics providing relation and functional services
to Statistics
.
Constructor and Description |
---|
DiskStatistics(HttpProxyBroker proxy,
Disk parent) |
Modifier and Type | Method and Description |
---|---|
DiskStatistic |
get(UUID id)
Fetches DiskStatistic object by id.
|
List<DiskStatistic> |
list()
Lists DiskStatistic objects.
|
List<DiskStatistic> |
list(Integer max)
Lists DiskStatistic objects.
|
get
public DiskStatistics(HttpProxyBroker proxy, Disk parent)
proxy
- HttpProxyBrokerparent
- Diskpublic List<DiskStatistic> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<Statistic,Statistics,DiskStatistic>
DiskStatistic
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 DiskStatistic get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<Statistic,Statistics,DiskStatistic>
id
- entity idDiskStatistic
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 List<DiskStatistic> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
DiskStatistic
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