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
IOException
public ElasticBoxSlave getSlave(String instanceId)
public Collection<ElasticBoxSlave> getSlaves()
public Collection<ElasticBoxSlave> getSlavesWithoutInstance() throws IOException
IOException
public List<net.sf.json.JSONObject> getInstances(ElasticBoxCloud cloud) throws IOException
IOException
public Collection<net.sf.json.JSONObject> getInstances() throws IOException
IOException
public net.sf.json.JSONObject getInstance(ElasticBoxSlave slave) throws IOException
IOException
public Map<ElasticBoxCloud,Integer> getMaxInstancesPerCloud() throws IOException
IOException
Copyright © 2016–2019. All rights reserved.