Class Environment

java.lang.Object
com.apple.foundationdb.relational.util.Environment

@API(EXPERIMENTAL) public class Environment extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Checks whether the environment of the currently running process is a debug environment, this is usually set when running tests and should be used to e.g.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Environment

      public Environment()
  • Method Details

    • isDebug

      public static boolean isDebug()
      Checks whether the environment of the currently running process is a debug environment, this is usually set when running tests and should be used to e.g. trigger extra logging or diagnostics.
      Returns:
      true if the environment of the currently running process is debug, otherwise false.