public class VMNICStatistics extends CollectionDecorator<Statistic,Statistics,VMNICStatistic>
VMNICStatistics providing relation and functional services
to Statistics.
| Constructor and Description |
|---|
VMNICStatistics(HttpProxyBroker proxy,
VMNIC parent) |
| Modifier and Type | Method and Description |
|---|---|
VMNICStatistic |
get(UUID id)
Fetches VMNICStatistic object by id.
|
VMNICStatistic |
getById(String id)
Fetches VMNICStatistic object by id.
|
List<VMNICStatistic> |
list()
Lists VMNICStatistic objects.
|
getpublic VMNICStatistics(HttpProxyBroker proxy, VMNIC parent)
proxy - HttpProxyBrokerparent - VMNICpublic List<VMNICStatistic> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<Statistic,Statistics,VMNICStatistic>VMNICStatisticorg.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 VMNICStatistic get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<Statistic,Statistics,VMNICStatistic>id - entity idVMNICStatisticorg.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 VMNICStatistic getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<Statistic,Statistics,VMNICStatistic>id - entity idVMNICStatisticorg.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