GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm.capacity
Class CapacityRequirementsPerZones

java.lang.Object
  extended by org.openspaces.grid.gsm.capacity.CapacityRequirementsPerZones

public class CapacityRequirementsPerZones
extends Object

Since:
9.1.0
Author:
Itai Frenkel

Constructor Summary
CapacityRequirementsPerZones()
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CapacityRequirementsPerZones

public CapacityRequirementsPerZones()
Method Detail

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)

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.