org.openspaces.grid.gsm.capacity
Class CapacityRequirementsPerZones
java.lang.Object
org.openspaces.grid.gsm.capacity.CapacityRequirementsPerZones
public class CapacityRequirementsPerZones
- extends Object
- Since:
- 9.1.0
- Author:
- Itai Frenkel
CapacityRequirementsPerZones
public CapacityRequirementsPerZones()
getZones
public Set<ZonesConfig> getZones()
set
public CapacityRequirementsPerZones set(ZonesConfig zones,
CapacityRequirements capacity)
add
public CapacityRequirementsPerZones add(ZonesConfig zones,
CapacityRequirements capacity)
subtract
public CapacityRequirementsPerZones subtract(ZonesConfig zones,
CapacityRequirements capacity)
subtractZones
public CapacityRequirementsPerZones subtractZones(ZonesConfig zones)
subtractOrZero
public CapacityRequirementsPerZones subtractOrZero(ZonesConfig zones,
CapacityRequirements capacity)
subtract
public CapacityRequirementsPerZones subtract(CapacityRequirementsPerZones other)
add
public CapacityRequirementsPerZones add(CapacityRequirementsPerZones other)
getZonesCapacity
public CapacityRequirements getZonesCapacity(ZonesConfig zones)
getZonesCapacityOrZero
public CapacityRequirements getZonesCapacityOrZero(ZonesConfig zones)
newZeroInstance
protected CapacityRequirementsPerZones newZeroInstance()
toString
public String toString()
toDetailedString
public String toDetailedString()
getTotalAllocatedCapacity
public CapacityRequirements getTotalAllocatedCapacity()
equalsZero
public boolean equalsZero()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getKeys
protected Collection<String> getKeys()
add
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey add(org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey other)
subtract
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey subtract(org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey other)
set
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey set(String key,
CapacityRequirements capacity)
add
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey add(String key,
CapacityRequirements capacity)
subtract
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey subtract(String key,
CapacityRequirements capacity)
subtractKey
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey subtractKey(String key)
subtractOrZero
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey subtractOrZero(String key,
CapacityRequirements capacity)
getKeyCapacity
protected CapacityRequirements getKeyCapacity(String key)
getKeyCapacityOrZero
protected CapacityRequirements getKeyCapacityOrZero(String key)
Copyright © GigaSpaces.