Package org.apache.cassandra.utils
Class JavaUtils
java.lang.Object
org.apache.cassandra.utils.JavaUtils
Utility method to retrieve information about the JRE.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleansupportExitOnOutOfMemory(String jreVersion) Checks if the specified JRE support ExitOnOutOfMemory and CrashOnOutOfMemory.
-
Method Details
-
supportExitOnOutOfMemory
Checks if the specified JRE support ExitOnOutOfMemory and CrashOnOutOfMemory.- Parameters:
jreVersion- the JRE version- Returns:
trueif the running JRE support ExitOnOutOfMemory and CrashOnOutOfMemory or if the exact version cannot be determined,falseotherwise.
-