public final class PackingTestHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static PackingPlan |
addToTestPackingPlan(java.lang.String topologyName,
PackingPlan previousPackingPlan,
Pair<java.lang.Integer,java.lang.String>[] instances,
int containerPadding) |
static PackingPlan |
createTestPackingPlan(java.lang.String topologyName,
Pair<java.lang.Integer,java.lang.String>[] instances,
int containerPadding) |
static PackingPlan |
removeFromTestPackingPlan(java.lang.String topologyName,
PackingPlan previousPackingPlan,
Pair<java.lang.Integer,java.lang.String>[] instances,
int containerPadding) |
static Pair<java.lang.Integer,java.lang.String>[] |
toContainerIdComponentNames(Pair<java.lang.Integer,InstanceId>[] containerIdInstanceIds) |
public static PackingPlan createTestPackingPlan(java.lang.String topologyName, Pair<java.lang.Integer,java.lang.String>[] instances, int containerPadding) throws ResourceExceededException
ResourceExceededException
public static PackingPlan addToTestPackingPlan(java.lang.String topologyName, PackingPlan previousPackingPlan, Pair<java.lang.Integer,java.lang.String>[] instances, int containerPadding) throws ResourceExceededException
ResourceExceededException
public static PackingPlan removeFromTestPackingPlan(java.lang.String topologyName, PackingPlan previousPackingPlan, Pair<java.lang.Integer,java.lang.String>[] instances, int containerPadding) throws ResourceExceededException
ResourceExceededException
public static Pair<java.lang.Integer,java.lang.String>[] toContainerIdComponentNames(Pair<java.lang.Integer,InstanceId>[] containerIdInstanceIds)