@Deprecated public class BrooklynMachinePool extends MachinePool
Constructor and Description |
---|
BrooklynMachinePool(JcloudsLocation l)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
blockUntilTasksEnded()
Deprecated.
|
MachineSet |
create(int count,
ReusableMachineTemplate template)
Deprecated.
creates the given number of machines of the indicated template
|
boolean |
destroy(SshMachineLocation location)
Deprecated.
|
java.util.List<Task<?>> |
getActiveTasks()
Deprecated.
|
SshMachineLocation |
obtain(ReusableMachineTemplate t)
Deprecated.
claims a machine with the indicated spec, creating if necessary
|
Task<?> |
start(ReusableMachineTemplate template,
java.util.List<? extends Startable> entities)
Deprecated.
starts the given template; for use only within a task (e.g.
|
Task<?> |
start(ReusableMachineTemplate template,
Startable... entities)
Deprecated.
|
boolean |
unclaim(SshMachineLocation location)
Deprecated.
|
addToBlacklist, all, all, all, claim, claim, destroy, ensureExists, ensureExists, ensureUnclaimed, ensureUnclaimed, getPoolName, getTemplates, getTemplatesMatchingInstance, refresh, setBlacklist, setPoolName, unclaim, unclaimed, unclaimed, unclaimed
public BrooklynMachinePool(JcloudsLocation l)
public SshMachineLocation obtain(ReusableMachineTemplate t)
public MachineSet create(int count, ReusableMachineTemplate template)
MachinePool
create
in class MachinePool
public boolean unclaim(SshMachineLocation location)
public boolean destroy(SshMachineLocation location)
public java.util.List<Task<?>> getActiveTasks()
public void blockUntilTasksEnded()
public Task<?> start(ReusableMachineTemplate template, java.util.List<? extends Startable> entities)
throws exception if not in a task. (you will have to claim, then invoke the effectors manually.)
public Task<?> start(ReusableMachineTemplate template, Startable... entities)
start(ReusableMachineTemplate, List)