public class CapacityHandler extends Object
Constructor and Description |
---|
CapacityHandler(String cloudId,
int instanceCap) |
Modifier and Type | Method and Description |
---|---|
void |
addRunningInstance() |
void |
removeFailedPlannedInstance() |
void |
removeRunningInstance() |
int |
reserveCapacity(int requestedInstances,
String provisionIdString) |
public CapacityHandler(String cloudId, int instanceCap)
public int reserveCapacity(int requestedInstances, String provisionIdString)
public void addRunningInstance()
public void removeRunningInstance()
public void removeFailedPlannedInstance()
Copyright © 2016–2024. All rights reserved.