|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerPoolAllocationStrategy
Represents a strategy for allocating virtual machines within a pool of servers.
| Method Summary | |
|---|---|
PhasedFuture<AllocationPhase,VirtualMachine> |
allocate(AllocationConstraints constraints,
EventSource<AllocationPhase> source)
Allocates a virtual machine using the passed allocation characteristics |
PhysicalServerPool |
getServerPool()
Returns the ServerPool instance this strategy is serving. |
| Method Detail |
|---|
PhysicalServerPool getServerPool()
ServerPool instance this strategy is serving.
PhasedFuture<AllocationPhase,VirtualMachine> allocate(AllocationConstraints constraints,
EventSource<AllocationPhase> source)
throws VirtException
constraints - the requested virtual machine allocation characteristicssource - a facility to register events listeners for allocation phases.
PhasedFuture instance giving access to the VirtualMachine
VirtException - if the allocation is not successful.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||