Enum WarmupMode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<WarmupMode>

    public enum WarmupMode
    extends java.lang.Enum<WarmupMode>
    Warmup Mode enum
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BULK
      Do the bulk warmup before any benchmark starts.
      BULK_INDI
      Do the bulk warmup before any benchmark starts, and then also do individual warmups for every benchmark.
      INDI
      Do the individual warmup for every benchmark
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean bulk  
      private boolean indi  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private WarmupMode​(boolean bulk, boolean indi)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isBulk()  
      boolean isIndi()  
      static WarmupMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static WarmupMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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.
    • Field Detail

      • bulk

        private final boolean bulk
      • indi

        private final boolean indi
    • Constructor Detail

      • WarmupMode

        private WarmupMode​(boolean bulk,
                           boolean indi)
    • Method Detail

      • values

        public static WarmupMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (WarmupMode c : WarmupMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WarmupMode valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isBulk

        public boolean isBulk()
      • isIndi

        public boolean isIndi()