org.openspaces.grid.gsm.capacity
Class NumberOfMachinesCapacityRequirement
java.lang.Object
org.openspaces.grid.gsm.capacity.AbstractCapacityRequirement
org.openspaces.grid.gsm.capacity.NumberOfMachinesCapacityRequirement
- All Implemented Interfaces:
- Comparable<CapacityRequirement>, CapacityRequirement
public class NumberOfMachinesCapacityRequirement
- extends AbstractCapacityRequirement
Methods inherited from class org.openspaces.grid.gsm.capacity.AbstractCapacityRequirement |
add, compareTo, divide, divide, equals, equalsZero, max, min, multiply, subtract, subtractOrZero |
NumberOfMachinesCapacityRequirement
public NumberOfMachinesCapacityRequirement()
NumberOfMachinesCapacityRequirement
public NumberOfMachinesCapacityRequirement(Long numberOfMachines)
NumberOfMachinesCapacityRequirement
public NumberOfMachinesCapacityRequirement(Integer numberOfMachines)
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
Copyright © GigaSpaces.