org.opends.server.util
Class RuntimeInformation

java.lang.Object
  extended by org.opends.server.util.RuntimeInformation

public class RuntimeInformation
extends java.lang.Object

This class is used to gather and display information from the runtime environment.


Constructor Summary
RuntimeInformation()
           
 
Method Summary
static boolean is64Bit()
          Returns whether the architecture of the JVM we are running under is 64-bit or not.
static void logInfo()
          Write runtime information to error log.
static void printInfo()
          Writes runtime information to a print stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeInformation

public RuntimeInformation()
Method Detail

is64Bit

public static boolean is64Bit()
Returns whether the architecture of the JVM we are running under is 64-bit or not.

Returns:
true if the JVM architecture we running under is 64-bit and false otherwise.

printInfo

public static void printInfo()
Writes runtime information to a print stream.


logInfo

public static void logInfo()
Write runtime information to error log.