Enum Class ProfilingMode

java.lang.Object
java.lang.Enum<ProfilingMode>
com.evolveum.midpoint.common.configuration.api.ProfilingMode
All Implemented Interfaces:
Serializable, Comparable<ProfilingMode>, Constable

@Experimental public enum ProfilingMode extends Enum<ProfilingMode>
EXPERIMENTAL
  • Enum Constant Details

    • ON

      public static final ProfilingMode ON
      Profiling is enabled and is driven by setting logging levels via system configuration object. This is the same as profilingEnabled = true in pre-4.0 versions.
    • OFF

      public static final ProfilingMode OFF
      Profiling is disabled. MidpointInterceptor is not loaded. This is the same as profilingEnabled = false in pre-4.0 versions.
    • DYNAMIC

      public static final ProfilingMode DYNAMIC
      Profiling is enabled/disabled on demand. MidpointInterceptor is loaded and ready to use. Profiling is started either on request of midPoint code (see e.g. profilingObjectIntervalStart/profilingObjectIntervalLength extension properties) or traditionally by setting logging levels via system configuration object.
  • Method Details

    • values

      public static ProfilingMode[] 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 ProfilingMode 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
    • fromValue

      public static ProfilingMode fromValue(String value)
    • getValue

      public String getValue()