Enum Class NBAdvisorLevel

java.lang.Object
java.lang.Enum<NBAdvisorLevel>
io.nosqlbench.nb.api.advisor.NBAdvisorLevel
All Implemented Interfaces:
Serializable, Comparable<NBAdvisorLevel>, Constable

public enum NBAdvisorLevel extends Enum<NBAdvisorLevel>
This is related to Conditions, and the terms should be aligned. When possible, the the Conditions class should be used to capture re-usable conditions, so that there is only one instance of each distinct type in the runtime, regardless of how many components use it in their advisor points.
  • Enum Constant Details

    • none

      public static final NBAdvisorLevel none
      Do not analyze arguments, scenarios, activities, and workloads
    • validate

      public static final NBAdvisorLevel validate
      Provide advice about invalid, incorrect, and unused ops
    • enforce

      public static final NBAdvisorLevel enforce
      Only allow correct operations
  • Method Details

    • values

      public static NBAdvisorLevel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NBAdvisorLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static NBAdvisorLevel fromString(String advisorStr)
    • get

      public static NBAdvisorLevel get()
    • isAdvisorActive

      public static boolean isAdvisorActive()
    • isEnforcerActive

      public static boolean isEnforcerActive()