Enum Mark.Operation

java.lang.Object
java.lang.Enum<Mark.Operation>
io.perfmark.impl.Mark.Operation
All Implemented Interfaces:
Serializable, Comparable<Mark.Operation>, java.lang.constant.Constable
Enclosing class:
Mark

public static enum Mark.Operation extends Enum<Mark.Operation>
  • Enum Constant Details

    • NONE

      public static final Mark.Operation NONE
    • TASK_START_N1S1

      public static final Mark.Operation TASK_START_N1S1
      startTask(String taskName) 1 long for nanoTime.
    • TASK_START_N1S2

      public static final Mark.Operation TASK_START_N1S2
      startTask(String name, String subTaskName) 1 long for nanoTime.
    • TASK_END_N1S0

      public static final Mark.Operation TASK_END_N1S0
    • TASK_END_N1S1

      public static final Mark.Operation TASK_END_N1S1
    • TASK_END_N1S2

      public static final Mark.Operation TASK_END_N1S2
    • EVENT_N1S1

      public static final Mark.Operation EVENT_N1S1
    • EVENT_N1S2

      public static final Mark.Operation EVENT_N1S2
    • EVENT_N2S2

      public static final Mark.Operation EVENT_N2S2
      Tagged event, since attach tags can't apply to events
    • EVENT_N2S3

      public static final Mark.Operation EVENT_N2S3
      Tagged event, since attach tags can't apply to events
    • TAG_N0S1

      public static final Mark.Operation TAG_N0S1
      An unkeyed tag that has a single string value.
    • TAG_N1S0

      public static final Mark.Operation TAG_N1S0
      An unkeyed tag that has a single numeric value.
    • TAG_N1S1

      public static final Mark.Operation TAG_N1S1
      An unkeyed tag that has a string and numeric value. The values are unrelated to each other.
    • TAG_KEYED_N1S1

      public static final Mark.Operation TAG_KEYED_N1S1
    • TAG_KEYED_N2S1

      public static final Mark.Operation TAG_KEYED_N2S1
    • TAG_KEYED_N0S2

      public static final Mark.Operation TAG_KEYED_N0S2
  • Field Details

    • opType

      private final Mark.OperationType opType
    • longs

      private final int longs
    • strings

      private final int strings
    • values

      private static final Mark.Operation[] values
  • Constructor Details

  • Method Details

    • values

      public static Mark.Operation[] 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 Mark.Operation 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
    • getOpType

      public Mark.OperationType getOpType()
    • getNumbers

      public int getNumbers()
    • getStrings

      public int getStrings()
    • maxNumbers

      public static int maxNumbers()
    • maxStrings

      public static int maxStrings()
    • maxMarkers

      public static int maxMarkers()
    • valueOf

      public static Mark.Operation valueOf(int code)
      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:
      code - 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