Class HardwareInfo
- java.lang.Object
-
- com.atlassian.confluence.status.service.systeminfo.HardwareInfo
-
public class HardwareInfo extends Object
Simple bean holding information about the hardware specifications of the system on which Confluence is running- Since:
- 6.11.0
-
-
Constructor Summary
Constructors Constructor Description HardwareInfo(int availableProcessors, long localHomeTotalDiskSize, long sharedHomeTotalDiskSize, long totalSystemMemory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAvailableProcessors()
long
getLocalHomeTotalDiskSize()
long
getSharedHomeTotalDiskSize()
long
getTotalSystemMemory()
-
-
-
Method Detail
-
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
-
getSharedHomeTotalDiskSize
public long getSharedHomeTotalDiskSize()
- Returns:
- the total size in megabytes of the file system where the shared home lives
-
getTotalSystemMemory
public long getTotalSystemMemory()
- Returns:
- the total amount of physical memory in megabytes
-
-