public class CapacityRequirementsPerZones extends Object
Constructor and Description |
---|
CapacityRequirementsPerZones() |
Modifier and Type | Method and Description |
---|---|
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey |
add(org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey other) |
CapacityRequirementsPerZones |
add(CapacityRequirementsPerZones other) |
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey |
add(String key,
CapacityRequirements capacity) |
CapacityRequirementsPerZones |
add(ZonesConfig zones,
CapacityRequirements capacity) |
boolean |
equals(Object obj) |
boolean |
equalsZero() |
protected CapacityRequirements |
getKeyCapacity(String key) |
protected CapacityRequirements |
getKeyCapacityOrZero(String key) |
protected Collection<String> |
getKeys() |
CapacityRequirements |
getTotalAllocatedCapacity() |
Set<ZonesConfig> |
getZones() |
CapacityRequirements |
getZonesCapacity(ZonesConfig zones) |
CapacityRequirements |
getZonesCapacityOrZero(ZonesConfig zones) |
int |
hashCode() |
protected CapacityRequirementsPerZones |
newZeroInstance() |
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey |
set(String key,
CapacityRequirements capacity) |
CapacityRequirementsPerZones |
set(ZonesConfig zones,
CapacityRequirements capacity) |
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey |
subtract(org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey other) |
CapacityRequirementsPerZones |
subtract(CapacityRequirementsPerZones other) |
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey |
subtract(String key,
CapacityRequirements capacity) |
CapacityRequirementsPerZones |
subtract(ZonesConfig zones,
CapacityRequirements capacity) |
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey |
subtractKey(String key) |
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey |
subtractOrZero(String key,
CapacityRequirements capacity) |
CapacityRequirementsPerZones |
subtractOrZero(ZonesConfig zones,
CapacityRequirements capacity) |
CapacityRequirementsPerZones |
subtractZones(ZonesConfig zones) |
String |
toDetailedString() |
String |
toString() |
public Set<ZonesConfig> getZones()
public CapacityRequirementsPerZones set(ZonesConfig zones, CapacityRequirements capacity)
public CapacityRequirementsPerZones add(ZonesConfig zones, CapacityRequirements capacity)
public CapacityRequirementsPerZones subtract(ZonesConfig zones, CapacityRequirements capacity)
public CapacityRequirementsPerZones subtractZones(ZonesConfig zones)
public CapacityRequirementsPerZones subtractOrZero(ZonesConfig zones, CapacityRequirements capacity)
public CapacityRequirementsPerZones subtract(CapacityRequirementsPerZones other)
public CapacityRequirementsPerZones add(CapacityRequirementsPerZones other)
public CapacityRequirements getZonesCapacity(ZonesConfig zones)
public CapacityRequirements getZonesCapacityOrZero(ZonesConfig zones)
protected CapacityRequirementsPerZones 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 set(String key, CapacityRequirements capacity)
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey add(String key, CapacityRequirements capacity)
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey subtract(String key, CapacityRequirements capacity)
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey subtractKey(String key)
protected org.openspaces.grid.gsm.capacity.AbstractCapacityRequirementsPerKey subtractOrZero(String key, CapacityRequirements capacity)
protected CapacityRequirements getKeyCapacity(String key)
protected CapacityRequirements getKeyCapacityOrZero(String key)
Copyright © GigaSpaces.