Enum Class GcTimeType

java.lang.Object
java.lang.Enum<GcTimeType>
io.helidon.metrics.api.GcTimeType
All Implemented Interfaces:
Serializable, Comparable<GcTimeType>, Constable

@Deprecated(since="4.1", forRemoval=true) public enum GcTimeType extends Enum<GcTimeType>
Deprecated, for removal: This API element is subject to removal in a future version.
Choices for the meter type for the gc.time meter.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Implement the meter as a counter.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Implement the meter as a gauge.
  • Method Summary

    Modifier and Type
    Method
    Description
    static GcTimeType
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    static GcTimeType[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

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

    • GAUGE

      public static final GcTimeType GAUGE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Implement the meter as a gauge. This is backward-incompatible with Helidon 4.0.x releases but complies with MicroProfile 5.1.
    • COUNTER

      public static final GcTimeType COUNTER
      Deprecated, for removal: This API element is subject to removal in a future version.
      Implement the meter as a counter. This is backward-compatible with Helidon 4.0.x releases but does not comply with MicroProfile 5.1.
  • Method Details

    • values

      public static GcTimeType[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 GcTimeType valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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