@Deprecated public interface ScaleStrategyCapacityRequirementConfigurer
CapacityRequirement
,
CapacityRequirementsConfig
,
CapacityRequirementsConfigurer
Modifier and Type | Method and Description |
---|---|
ScaleStrategyCapacityRequirementConfigurer |
driveCapacity(String drive,
int size,
MemoryUnit unit)
Deprecated.
Specifies the disk and network drive capacity.
|
ScaleStrategyCapacityRequirementConfigurer |
driveCapacity(String drive,
String size)
Deprecated.
Specifies the disk and network drive capacity.
|
ScaleStrategyCapacityRequirementConfigurer |
memoryCapacity(int memory,
MemoryUnit unit)
Deprecated.
Specifies the memory capacity (RAM).
|
ScaleStrategyCapacityRequirementConfigurer |
memoryCapacity(String memory)
Deprecated.
Specifies the memory capacity (RAM).
|
ScaleStrategyCapacityRequirementConfigurer |
numberOfCpuCores(double cpuCores)
Deprecated.
Specifies the number of CPU cores (as reported by the operating system) This includes both
real cores and hyper-threaded cores.
|
ScaleStrategyCapacityRequirementConfigurer memoryCapacity(String memory)
memory
- - the RAM size as a string (For example :50m" or "50g" or "50t") See also
MemoryUnit.getPostfix()
ScaleStrategyCapacityRequirementConfigurer memoryCapacity(int memory, MemoryUnit unit)
ScaleStrategyCapacityRequirementConfigurer numberOfCpuCores(double cpuCores)
ScaleStrategyCapacityRequirementConfigurer driveCapacity(String drive, int size, MemoryUnit unit)
drive
- - the file system directory representing the drivesize
- - the drive sizeunit
- - the drive size memory unit.
For example: driveCapacity("/",50,MemoryUnit.MEGABYTES) - the drive "/" (on
linux) has the size of 50*1024MBs driveCapacity("c:\\",50,MemoryUnit.MEGABYTES)
- the drive "c:\" (on windows) has the size of 50*1024MBsScaleStrategyCapacityRequirementConfigurer driveCapacity(String drive, String size)
drive
- - the file system directory representing the drivesize
- - the drive size as a string (For example :50m" or "50g" or "50t") See also
MemoryUnit.getPostfix()
For example: driveCapacity("/","50m") - the drive "/" (on linux) has the size of
50*1024MBs driveCapacity("c:\\","50m") - the drive "c:\" (on windows) has the
size of 50*1024MBsCopyright © GigaSpaces.