ALL, client, elementName, GROUP, infoMethod, MINE, MINE_GROUP, poolElements, xpath
Constructor | Description |
---|---|
HostPool(Client client) |
Creates a new host pool
|
Modifier and Type | Method | Description |
---|---|---|
PoolElement |
factory(org.w3c.dom.Node node) |
The factory method returns a suitable PoolElement object from
an XML node.
|
Host |
getById(int id) |
Returns the Host with the given Id from the pool.
|
OneResponse |
info() |
Loads the xml representation of the host pool.
|
static OneResponse |
info(Client client) |
Retrieves all the hosts in the pool.
|
java.util.Iterator<Host> |
iterator() |
|
OneResponse |
monitoring() |
Retrieves the monitoring data for all the hosts in the pool.
|
static OneResponse |
monitoring(Client client) |
Retrieves the monitoring data for all the hosts in the pool.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLength, info, info, info, infoAll, infoAll, infoGroup, infoGroup, infoGroupPrimary, infoMine, infoMine, item, processInfo, xmlrpcInfo
public HostPool(Client client)
client
- XML-RPC Client.public PoolElement factory(org.w3c.dom.Node node)
Pool
public static OneResponse info(Client client)
client
- XML-RPC Client.public static OneResponse monitoring(Client client)
client
- XML-RPC Client.public OneResponse info()
info
in class Pool
info(Client)
public OneResponse monitoring()
public java.util.Iterator<Host> iterator()
iterator
in interface java.lang.Iterable<Host>
Visit OpenNebula.org
Copyright 2002-2018 ©
OpenNebula Project, OpenNebula Systems.