org.openspaces.grid.gsm.capacity
Class ClusterCapacityRequirements
java.lang.Object
org.openspaces.grid.gsm.capacity.ClusterCapacityRequirements
public class ClusterCapacityRequirements
- extends Object
ClusterCapacityRequirements
public ClusterCapacityRequirements()
getTotalAllocatedCapacity
public CapacityRequirements getTotalAllocatedCapacity()
equalsZero
public boolean equalsZero()
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
getAgentUids
public Collection<String> getAgentUids()
toString
public String toString()
- Overrides:
toString
in class Object
toDetailedString
public String toDetailedString()
add
public ClusterCapacityRequirements add(ClusterCapacityRequirements other)
subtract
public ClusterCapacityRequirements subtract(ClusterCapacityRequirements other)
set
public ClusterCapacityRequirements set(String agentUid,
CapacityRequirements capacity)
add
public ClusterCapacityRequirements add(String agentUid,
CapacityRequirements capacity)
subtract
public ClusterCapacityRequirements subtract(String agentUid,
CapacityRequirements capacity)
subtractAgent
public ClusterCapacityRequirements subtractAgent(String agentUid)
subtractOrZero
public ClusterCapacityRequirements subtractOrZero(String agentUid,
CapacityRequirements capacity)
getAgentCapacity
public CapacityRequirements getAgentCapacity(String agentUid)
getAgentCapacityOrZero
public CapacityRequirements getAgentCapacityOrZero(String agentUid)
Copyright © GigaSpaces.