org.openspaces.grid.gsm.capacity
Class DriveCapacityRequirement
java.lang.Object
org.openspaces.grid.gsm.capacity.AbstractCapacityRequirement
org.openspaces.grid.gsm.capacity.DriveCapacityRequirement
- All Implemented Interfaces:
- Comparable<CapacityRequirement>, CapacityRequirement
public class DriveCapacityRequirement
- extends AbstractCapacityRequirement
Methods inherited from class org.openspaces.grid.gsm.capacity.AbstractCapacityRequirement |
add, compareTo, divide, divide, equals, equalsZero, max, min, multiply, subtract, subtractOrZero |
DriveCapacityRequirement
public DriveCapacityRequirement(String drive)
DriveCapacityRequirement
public DriveCapacityRequirement(String drive,
Long sizeInMB)
getType
public CapacityRequirementType<DriveCapacityRequirement> getType()
- Specified by:
getType
in interface CapacityRequirement
- Overrides:
getType
in class AbstractCapacityRequirement
getDriveCapacityInMB
public long getDriveCapacityInMB()
toString
public String toString()
- Specified by:
toString
in interface CapacityRequirement
- Specified by:
toString
in class AbstractCapacityRequirement
getDrive
public String getDrive()
- Returns:
- the root folder of this drive (Such as "/" on linux or "c:\" on windows)
Copyright © GigaSpaces.