Class AdminJavaStatus


  • public class AdminJavaStatus
    extends Object
    Provides information about the used Java virtual machine and it´sexecution context.
    • Constructor Detail

      • AdminJavaStatus

        public AdminJavaStatus()
    • Method Detail

      • getGc

        @Nullable
        public @Nullable List<AdminJavaStatusGC> getGc()
        The list of GC used and their execution values.
        Returns:
        gc
      • getJavaName

        @Nullable
        public @Nullable String getJavaName()
        The name of the running JVM.
        Returns:
        javaName
      • setJavaName

        public void setJavaName​(String javaName)
      • getJavaVendor

        @Nullable
        public @Nullable String getJavaVendor()
        The vendor of the running JVM.
        Returns:
        javaVendor
      • setJavaVendor

        public void setJavaVendor​(String javaVendor)
      • getJavaVersion

        @Nullable
        public @Nullable String getJavaVersion()
        The java version of the running JVM.
        Returns:
        javaVersion
      • setJavaVersion

        public void setJavaVersion​(String javaVersion)
      • getMemoryAllocated

        @Nullable
        public @Nullable String getMemoryAllocated()
        The MB size of the memory currently allocated for the running JVM.
        Returns:
        memoryAllocated
      • setMemoryAllocated

        public void setMemoryAllocated​(String memoryAllocated)
      • getMemoryFree

        @Nullable
        public @Nullable String getMemoryFree()
        The MB size of free memory, that currently is available for further object allocations.
        Returns:
        memoryFree
      • setMemoryFree

        public void setMemoryFree​(String memoryFree)
      • getMemoryMax

        @Nullable
        public @Nullable String getMemoryMax()
        The MB size of the maximum memory, that could be allocated by the JVM, if required.
        Returns:
        memoryMax
      • setMemoryMax

        public void setMemoryMax​(String memoryMax)
      • getMemoryTotalFree

        @Nullable
        public @Nullable String getMemoryTotalFree()
        The MB size of the free memory, that would currently be available for further object allocations, if the JVM would allocate the maximum allowed memory size.
        Returns:
        memoryTotalFree
      • setMemoryTotalFree

        public void setMemoryTotalFree​(String memoryTotalFree)
      • getMemoryUsed

        @Nullable
        public @Nullable String getMemoryUsed()
        The MB size of the allocated memory, that is actually used by the JVM at the moment.
        Returns:
        memoryUsed
      • setMemoryUsed

        public void setMemoryUsed​(String memoryUsed)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object