Package ome.services.util
Class JvmSettingsCheck
- java.lang.Object
-
- ome.services.util.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.
-
Constructor Summary
Constructors Constructor Description JvmSettingsCheck()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
getPhysicalMemory()
static void
main(java.lang.String[] args)
-
-
-
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.
-
-