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