public class SlaveInstanceManager extends Object
| Constructor and Description |
|---|
SlaveInstanceManager() |
| Modifier and Type | Method and Description |
|---|---|
net.sf.json.JSONObject |
getInstance(ElasticBoxSlave slave) |
Collection<net.sf.json.JSONObject> |
getInstances() |
List<net.sf.json.JSONObject> |
getInstances(ElasticBoxCloud cloud) |
Map<ElasticBoxCloud,Integer> |
getMaxInstancesPerCloud() |
ElasticBoxSlave |
getSlave(String instanceId) |
Collection<ElasticBoxSlave> |
getSlaves() |
Collection<ElasticBoxSlave> |
getSlavesWithoutInstance() |
public SlaveInstanceManager()
throws IOException
IOExceptionpublic ElasticBoxSlave getSlave(String instanceId)
public Collection<ElasticBoxSlave> getSlaves()
public Collection<ElasticBoxSlave> getSlavesWithoutInstance() throws IOException
IOExceptionpublic List<net.sf.json.JSONObject> getInstances(ElasticBoxCloud cloud) throws IOException
IOExceptionpublic Collection<net.sf.json.JSONObject> getInstances() throws IOException
IOExceptionpublic net.sf.json.JSONObject getInstance(ElasticBoxSlave slave) throws IOException
IOExceptionpublic Map<ElasticBoxCloud,Integer> getMaxInstancesPerCloud() throws IOException
IOExceptionCopyright © 2016–2019. All rights reserved.