@Deprecated public interface ScaleStrategyCapacityRequirementConfig
CapacityRequirements
with {#toCapacityRequirements()}.Modifier and Type | Method and Description |
---|---|
Map<String,Long> |
getDrivesCapacityInMB()
Deprecated.
|
long |
getMemoryCapacityInMB()
Deprecated.
|
double |
getNumberOfCpuCores()
Deprecated.
|
void |
setDrivesCapacityInMB(Map<String,Long> megaBytesPerDrive)
Deprecated.
Specifies the disk and network drive capacity.
|
void |
setMemoryCapacityInMB(long memory)
Deprecated.
Specifies the total memory capacity.
|
void |
setNumberOfCpuCores(double cpuCores)
Deprecated.
Specifies the total CPU cores.
|
CapacityRequirements |
toCapacityRequirements()
Deprecated.
|
void setMemoryCapacityInMB(long memory)
long getMemoryCapacityInMB() throws NumberFormatException
NumberFormatException
void setNumberOfCpuCores(double cpuCores)
double getNumberOfCpuCores()
void setDrivesCapacityInMB(Map<String,Long> megaBytesPerDrive)
megaBytesPerDrive
- - a mapping between the file system directory representing the drive
and its capacity (in mega-bytes) needed by the pu .
For example the drive "/" (on linux) has the size of 50*1024MBs or
the drive "c:\" (on windows) has the size of 50*1024MBsMap<String,Long> getDrivesCapacityInMB() throws NumberFormatException
NumberFormatException
CapacityRequirements toCapacityRequirements()
Copyright © GigaSpaces.