GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm.capacity
Class NumberOfMachinesCapacityRequirement

java.lang.Object
  extended by org.openspaces.grid.gsm.capacity.AbstractCapacityRequirement
      extended by org.openspaces.grid.gsm.capacity.NumberOfMachinesCapacityRequirement
All Implemented Interfaces:
Comparable<CapacityRequirement>, CapacityRequirement

public class NumberOfMachinesCapacityRequirement
extends AbstractCapacityRequirement


Field Summary
 
Fields inherited from class org.openspaces.grid.gsm.capacity.AbstractCapacityRequirement
value
 
Constructor Summary
NumberOfMachinesCapacityRequirement()
           
NumberOfMachinesCapacityRequirement(Integer numberOfMachines)
           
NumberOfMachinesCapacityRequirement(Long numberOfMachines)
           
 
Method Summary
 int getNumberOfMachines()
           
 CapacityRequirementType<NumberOfMachinesCapacityRequirement> getType()
           
 String toString()
           
 
Methods inherited from class org.openspaces.grid.gsm.capacity.AbstractCapacityRequirement
add, compareTo, divide, divide, equals, equalsZero, max, min, multiply, subtract, subtractOrZero
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openspaces.grid.gsm.capacity.CapacityRequirement
hashCode
 

Constructor Detail

NumberOfMachinesCapacityRequirement

public NumberOfMachinesCapacityRequirement()

NumberOfMachinesCapacityRequirement

public NumberOfMachinesCapacityRequirement(Long numberOfMachines)

NumberOfMachinesCapacityRequirement

public NumberOfMachinesCapacityRequirement(Integer numberOfMachines)
Method Detail

getNumberOfMachines

public int getNumberOfMachines()

getType

public CapacityRequirementType<NumberOfMachinesCapacityRequirement> getType()
Specified by:
getType in interface CapacityRequirement
Overrides:
getType in class AbstractCapacityRequirement

toString

public String toString()
Specified by:
toString in interface CapacityRequirement
Specified by:
toString in class AbstractCapacityRequirement

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.