Class AdminOsStatus


  • public class AdminOsStatus
    extends Object
    Provides information about the operating system on which the server is running
    • Constructor Detail

      • AdminOsStatus

        public AdminOsStatus()
    • Method Detail

      • getContainer

        @Nullable
        public @Nullable AdminOsStatusContainer getContainer()
        Get container
        Returns:
        container
      • cpuLogicalProcessors

        public AdminOsStatus cpuLogicalProcessors​(Integer cpuLogicalProcessors)
      • getCpuLogicalProcessors

        @Nullable
        public @Nullable Integer getCpuLogicalProcessors()
        The number of logical processors available to the application
        Returns:
        cpuLogicalProcessors
      • setCpuLogicalProcessors

        public void setCpuLogicalProcessors​(Integer cpuLogicalProcessors)
      • memoryCommittedVirtualSize

        public AdminOsStatus memoryCommittedVirtualSize​(Long memoryCommittedVirtualSize)
      • getMemoryCommittedVirtualSize

        @Nullable
        public @Nullable Long getMemoryCommittedVirtualSize()
        The amount of virtual memory that is guaranteed to be available to the application in bytes
        Returns:
        memoryCommittedVirtualSize
      • setMemoryCommittedVirtualSize

        public void setMemoryCommittedVirtualSize​(Long memoryCommittedVirtualSize)
      • getMemoryFree

        @Nullable
        public @Nullable Long getMemoryFree()
        The amount of free memory in bytes
        Returns:
        memoryFree
      • setMemoryFree

        public void setMemoryFree​(Long memoryFree)
      • memoryFreeSwapSize

        public AdminOsStatus memoryFreeSwapSize​(Long memoryFreeSwapSize)
      • getMemoryFreeSwapSize

        @Nullable
        public @Nullable Long getMemoryFreeSwapSize()
        The amount of free swap space in bytes
        Returns:
        memoryFreeSwapSize
      • setMemoryFreeSwapSize

        public void setMemoryFreeSwapSize​(Long memoryFreeSwapSize)
      • getMemoryTotal

        @Nullable
        public @Nullable Long getMemoryTotal()
        The total amount of memory in bytes
        Returns:
        memoryTotal
      • setMemoryTotal

        public void setMemoryTotal​(Long memoryTotal)
      • memoryTotalSwapSize

        public AdminOsStatus memoryTotalSwapSize​(Long memoryTotalSwapSize)
      • getMemoryTotalSwapSize

        @Nullable
        public @Nullable Long getMemoryTotalSwapSize()
        The total amount of swap space in bytes
        Returns:
        memoryTotalSwapSize
      • setMemoryTotalSwapSize

        public void setMemoryTotalSwapSize​(Long memoryTotalSwapSize)
      • getOsArchitecture

        @Nullable
        public @Nullable String getOsArchitecture()
        The operating system´s architecture
        Returns:
        osArchitecture
      • setOsArchitecture

        public void setOsArchitecture​(String osArchitecture)
      • getOsName

        @Nullable
        public @Nullable String getOsName()
        The name of the operating system, the server is running on
        Returns:
        osName
      • setOsName

        public void setOsName​(String osName)
      • getOsVersion

        @Nullable
        public @Nullable String getOsVersion()
        The operating system´s version number
        Returns:
        osVersion
      • setOsVersion

        public void setOsVersion​(String osVersion)
      • getProcessCpuLoad

        @Nullable
        public @Nullable Double getProcessCpuLoad()
        The recent CPU usage of the JVM with a value between 0.0 and 1.0 (a value of 1.0 means that threads were actively executed on all CPUs)
        Returns:
        processCpuLoad
      • setProcessCpuLoad

        public void setProcessCpuLoad​(Double processCpuLoad)
      • getSystemLoadAverage

        @Nullable
        public @Nullable Double getSystemLoadAverage()
        The system load average for the last minute (or a negative value if not available)
        Returns:
        systemLoadAverage
      • setSystemLoadAverage

        public void setSystemLoadAverage​(Double systemLoadAverage)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object