public class CapacityRequirements extends Object
Constructor and Description |
---|
CapacityRequirements(CapacityRequirement... requirements) |
public CapacityRequirements(CapacityRequirement... requirements)
public CapacityRequirement[] getRequirements()
public <T extends CapacityRequirement> T getRequirement(CapacityRequirementType<T> type)
public CapacityRequirements multiply(int i)
public CapacityRequirements divide(int i)
public CapacityRequirements subtract(CapacityRequirements otherRequirements)
public CapacityRequirements subtract(CapacityRequirement otherRequirement)
public CapacityRequirements subtractOrZero(CapacityRequirement otherRequirement)
public CapacityRequirements subtractOrZero(CapacityRequirements otherRequirements)
public boolean equalsZero()
public CapacityRequirements add(CapacityRequirements otherRequirements)
public CapacityRequirements min(CapacityRequirements otherRequirements)
public CapacityRequirements max(CapacityRequirements otherCapacityRequirements)
public CapacityRequirements max(CapacityRequirement capacityRequirement)
public CapacityRequirements set(CapacityRequirement capacityRequirement)
public int divideExactly(CapacityRequirements otherCapacityRequirements)
public boolean greaterOrEquals(CapacityRequirements otherRequirements)
public boolean greaterThan(CapacityRequirements otherRequirements)
public CapacityRequirements add(CapacityRequirement capacityToAllocateOnMachine)
Copyright © GigaSpaces.