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