Class JvmSettingsCheck


  • public class JvmSettingsCheck
    extends java.lang.Object
    Hook run by the context which prints out JVM-related information, primarily Java version, max heap size and available processors.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long INITIAL_FREE_PHYSICAL_MEMORY
      FreePhysicalMemorySize value from the OperatingSystem JMX bean at startup.
      static org.apache.commons.logging.Log log  
      static long TOTAL_PHYSICAL_MEMORY
      TotalPhysicalMemorySize value from the OperatingSystem JMX bean at startup.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long getPhysicalMemory()  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        public static final org.apache.commons.logging.Log log
      • TOTAL_PHYSICAL_MEMORY

        public static final long TOTAL_PHYSICAL_MEMORY
        TotalPhysicalMemorySize value from the OperatingSystem JMX bean at startup.
      • INITIAL_FREE_PHYSICAL_MEMORY

        public static final long INITIAL_FREE_PHYSICAL_MEMORY
        FreePhysicalMemorySize value from the OperatingSystem JMX bean at startup.
    • Constructor Detail

      • JvmSettingsCheck

        public JvmSettingsCheck()
    • Method Detail

      • getPhysicalMemory

        public static long getPhysicalMemory()
      • main

        public static void main​(java.lang.String[] args)