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