Modifier and Type | Method and Description |
---|---|
CapacityRequirementsPerAgent |
CapacityRequirementsPerAgent.add(CapacityRequirementsPerAgent other) |
CapacityRequirementsPerAgent |
CapacityRequirementsPerAgent.add(String agentUid,
CapacityRequirements capacity) |
protected CapacityRequirementsPerAgent |
CapacityRequirementsPerAgent.newZeroInstance() |
CapacityRequirementsPerAgent |
CapacityRequirementsPerAgent.set(String agentUid,
CapacityRequirements capacity) |
CapacityRequirementsPerAgent |
CapacityRequirementsPerAgent.subtract(CapacityRequirementsPerAgent other) |
CapacityRequirementsPerAgent |
CapacityRequirementsPerAgent.subtract(String agentUid,
CapacityRequirements capacity) |
CapacityRequirementsPerAgent |
CapacityRequirementsPerAgent.subtractAgent(String agentUid) |
CapacityRequirementsPerAgent |
CapacityRequirementsPerAgent.subtractOrZero(String agentUid,
CapacityRequirements capacity) |
Modifier and Type | Method and Description |
---|---|
CapacityRequirementsPerAgent |
CapacityRequirementsPerAgent.add(CapacityRequirementsPerAgent other) |
CapacityRequirementsPerAgent |
CapacityRequirementsPerAgent.subtract(CapacityRequirementsPerAgent other) |
Modifier and Type | Method and Description |
---|---|
CapacityRequirementsPerAgent |
ContainersSlaPolicy.getClusterCapacityRequirements() |
Modifier and Type | Method and Description |
---|---|
void |
ContainersSlaPolicy.setClusterCapacityRequirements(CapacityRequirementsPerAgent clusterCapacityRequirements) |
Modifier and Type | Method and Description |
---|---|
void |
BinPackingSolver.setAllocatedCapacityForPu(CapacityRequirementsPerAgent allocatedCapacityForPu)
Sets the currently allocated capacity of PU
|
void |
BinPackingSolver.setUnallocatedCapacity(CapacityRequirementsPerAgent unallocatedCapacity)
Sets the remaining unallocated capacity on existing agents.
|
Constructor and Description |
---|
GridServiceAgentSlaEnforcementPendingContainerDeallocationException(ProcessingUnit pu,
CapacityRequirementsPerAgent clusterCapacityRequirements) |
MachinesSlaHasChangedException(ProcessingUnit pu,
ZonesConfig zones,
CapacityRequirements oldCapacity,
CapacityRequirementsPerAgent allocatedCapacity) |
Modifier and Type | Method and Description |
---|---|
CapacityRequirementsPerAgent |
RebalancingSlaPolicy.getAllocatedCapacity() |
Modifier and Type | Method and Description |
---|---|
static org.openspaces.core.internal.commons.math.fraction.Fraction |
RebalancingUtils.getAverageCpuCoresPerPrimary(ProcessingUnit pu,
CapacityRequirementsPerAgent aggregatedAllocatedCapacity) |
static org.openspaces.core.internal.commons.math.fraction.Fraction |
RebalancingUtils.getNumberOfCpuCores(Machine machine,
CapacityRequirementsPerAgent allocatedCapacity) |
static org.openspaces.core.internal.commons.math.fraction.Fraction |
RebalancingUtils.getNumberOfPrimaryInstancesPerCpuCore(ProcessingUnit pu,
Machine machine,
CapacityRequirementsPerAgent allocatedCapacity) |
static boolean |
RebalancingUtils.isEvenlyDistributedAcrossMachines(ProcessingUnit pu,
CapacityRequirementsPerAgent aggregatedAllocatedCapacity) |
static boolean |
RebalancingUtils.isRestartRecommended(ProcessingUnit pu,
Machine source,
Machine target,
org.openspaces.core.internal.commons.math.fraction.Fraction optimalCpuCoresPerPrimary,
CapacityRequirementsPerAgent allocatedCapacity) |
void |
RebalancingSlaPolicy.setAllocatedCapacity(CapacityRequirementsPerAgent allocatedCapacity) |
static List<Machine> |
RebalancingUtils.sortMachinesByNumberOfPrimaryInstancesPerCpuCore(ProcessingUnit pu,
Machine[] machines,
CapacityRequirementsPerAgent allocatedCapacity) |
Copyright © GigaSpaces.