Class 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 Detail

      • HardwareInfo

        public HardwareInfo​(int availableProcessors,
                            long localHomeTotalDiskSize,
                            long sharedHomeTotalDiskSize,
                            long totalSystemMemory)
    • 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