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 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
    • 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