Class Environment
- java.lang.Object
-
- com.apple.foundationdb.relational.util.Environment
-
@API(EXPERIMENTAL) public class Environment extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Environment()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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, otherwisefalse
.
-
-