Class SystemHealthCheck


  • public final class SystemHealthCheck
    extends java.lang.Object
    Utility class used to check the systems health and configuration. Uses System and RuntimeMXBean to check settings.
    • Method Detail

      • logVMInfos

        public void logVMInfos()
        Logs information about the server's java-vm. The followind information is logged:
        • vm name
        • vm vendor
        • operating system name and version
        • architecture
        • file encoding
      • logMemoryConfiguration

        public void logMemoryConfiguration()
        Logs information about the server's memory configuration. The followind information is logged:
        • max heap size
        • min heap size
        • stack size
      • logConfigurationWarnings

        public void logConfigurationWarnings()
        Logs warning messages if one of the following checks fails.
        • max heap is set to recommended minimum
        • file-encoding is set to UTF-8