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