public class CapacityRequirementsPerAgent extends Object
Constructor and Description |
---|
CapacityRequirementsPerAgent() |
public Collection<String> getAgentUids()
public CapacityRequirementsPerAgent set(String agentUid, CapacityRequirements capacity)
public CapacityRequirementsPerAgent add(String agentUid, CapacityRequirements capacity)
public CapacityRequirementsPerAgent subtract(String agentUid, CapacityRequirements capacity)
public CapacityRequirementsPerAgent add(CapacityRequirementsPerAgent other)
public CapacityRequirementsPerAgent subtract(CapacityRequirementsPerAgent other)
public CapacityRequirementsPerAgent subtractAgent(String agentUid)
public CapacityRequirementsPerAgent subtractOrZero(String agentUid, CapacityRequirements capacity)
public CapacityRequirements getAgentCapacity(String agentUid)
public CapacityRequirements getAgentCapacityOrZero(String agentUid)
protected CapacityRequirementsPerAgent newZeroInstance()
public String toString()
public String toDetailedString()
public CapacityRequirements getTotalAllocatedCapacity()
public boolean equalsZero()
protected Collection<String> getKeys()
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey add(org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey other)
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey subtract(org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey other)
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey subtractKey(String key)
protected CapacityRequirements getKeyCapacity(String key)
protected CapacityRequirements getKeyCapacityOrZero(String key)
Copyright © GigaSpaces.