Package org.apache.cassandra.utils
Class JavaUtils
- java.lang.Object
-
- org.apache.cassandra.utils.JavaUtils
-
public final class JavaUtils extends java.lang.ObjectUtility method to retrieve information about the JRE.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleansupportExitOnOutOfMemory(java.lang.String jreVersion)Checks if the specified JRE support ExitOnOutOfMemory and CrashOnOutOfMemory.
-
-
-
Method Detail
-
supportExitOnOutOfMemory
public static boolean supportExitOnOutOfMemory(java.lang.String jreVersion)
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.
-
-