Package org.opends.server.util
Class RuntimeInformation
- java.lang.Object
-
- org.opends.server.util.RuntimeInformation
-
public class RuntimeInformation extends Object
This class is used to gather and display information from the runtime environment.
-
-
Constructor Summary
Constructors Constructor Description RuntimeInformation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanis64Bit()Returns whether the architecture of the JVM we are running under is 64-bit or not.static voidlogInfo()Write runtime information to error log.static voidprintInfo()Writes runtime information to a print stream.
-
-
-
Method Detail
-
is64Bit
public static boolean is64Bit()
Returns whether the architecture of the JVM we are running under is 64-bit or not.- Returns:
trueif the JVM architecture we running under is 64-bit andfalseotherwise.
-
printInfo
public static void printInfo()
Writes runtime information to a print stream.
-
logInfo
public static void logInfo()
Write runtime information to error log.
-
-