Class SafetyChecks

java.lang.Object
io.deephaven.server.runner.SafetyChecks

public final class SafetyChecks extends Object
Deephaven safety checks.
  • Field Details

  • Constructor Details

    • SafetyChecks

      public SafetyChecks()
  • Method Details

    • isEnabled

      public static boolean isEnabled()
      Checks whether safety checks are enabled. This parses the system property "deephaven.safetyChecks" if it exists, otherwise it parses the environment variable "DEEPHAVEN_SAFETY_CHECKS" if it exists, otherwise defaults to true. Disabling safety checks is not recommended.
      Returns:
      if safety checks are enabled.
    • check

      public static void check()
      Applies a set of safety checks if isEnabled().
      See Also: