Enum WarmupMode

java.lang.Object
java.lang.Enum<WarmupMode>
org.openjdk.jmh.runner.options.WarmupMode
All Implemented Interfaces:
Serializable, Comparable<WarmupMode>, java.lang.constant.Constable

public enum WarmupMode extends Enum<WarmupMode>
Warmup Mode enum
  • Enum Constant Details

    • INDI

      public static final WarmupMode INDI
      Do the individual warmup for every benchmark
    • BULK

      public static final WarmupMode BULK
      Do the bulk warmup before any benchmark starts.
    • BULK_INDI

      public static final WarmupMode BULK_INDI
      Do the bulk warmup before any benchmark starts, and then also do individual warmups for every benchmark.
  • Method Details

    • values

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

      public static WarmupMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • isBulk

      public boolean isBulk()
    • isIndi

      public boolean isIndi()