Class HardwareInfo
java.lang.Object
com.atlassian.confluence.status.service.systeminfo.HardwareInfo
Simple bean holding information about the hardware specifications of the system on which Confluence is running
- Since:
- 6.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionHardwareInfo(int availableProcessors, long localHomeTotalDiskSize, long sharedHomeTotalDiskSize, long totalSystemMemory) -
Method Summary
Modifier and TypeMethodDescriptionintlonglonglong
-
Constructor Details
-
HardwareInfo
public HardwareInfo(int availableProcessors, long localHomeTotalDiskSize, long sharedHomeTotalDiskSize, long totalSystemMemory)
-
-
Method Details
-
getAvailableProcessors
public int getAvailableProcessors()- Returns:
- the number of processors available to the JVM Confluence is running in
-
getLocalHomeTotalDiskSize
public long getLocalHomeTotalDiskSize()- Returns:
- the total size in megabytes of the file system where the local home lives
-
getTotalSystemMemory
public long getTotalSystemMemory()- Returns:
- the total amount of physical memory in megabytes
-