|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScaleStrategyCapacityRequirementConfigurer
An interface that defines fluent API methods required to define scale strategy capacity
CapacityRequirement,
CapacityRequirementsConfig,
CapacityRequirementsConfigurer| Method Summary | |
|---|---|
ScaleStrategyCapacityRequirementConfigurer |
driveCapacity(String drive,
int size,
MemoryUnit unit)
Specifies the disk and network drive capacity. |
ScaleStrategyCapacityRequirementConfigurer |
driveCapacity(String drive,
String size)
Specifies the disk and network drive capacity. |
ScaleStrategyCapacityRequirementConfigurer |
memoryCapacity(int memory,
MemoryUnit unit)
Specifies the memory capacity (RAM). |
ScaleStrategyCapacityRequirementConfigurer |
memoryCapacity(String memory)
Specifies the memory capacity (RAM). |
ScaleStrategyCapacityRequirementConfigurer |
numberOfCpuCores(double cpuCores)
Specifies the number of CPU cores (as reported by the operating system) This includes both real cores and hyper-threaded cores. |
| Method Detail |
|---|
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*1024MBs
ScaleStrategyCapacityRequirementConfigurer 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*1024MBs
|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||