Enum PrometheusJvmFormatterInfo.JvmCategory
- java.lang.Object
-
- java.lang.Enum<PrometheusJvmFormatterInfo.JvmCategory>
-
- org.apache.solr.metrics.prometheus.jvm.PrometheusJvmFormatterInfo.JvmCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<PrometheusJvmFormatterInfo.JvmCategory>
- Enclosing interface:
- PrometheusJvmFormatterInfo
public static enum PrometheusJvmFormatterInfo.JvmCategory extends Enum<PrometheusJvmFormatterInfo.JvmCategory>
Category of prefix Solr JVM dropwizard handler metric names
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrometheusJvmFormatterInfo.JvmCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static PrometheusJvmFormatterInfo.JvmCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
buffers
public static final PrometheusJvmFormatterInfo.JvmCategory buffers
-
gc
public static final PrometheusJvmFormatterInfo.JvmCategory gc
-
memory
public static final PrometheusJvmFormatterInfo.JvmCategory memory
-
os
public static final PrometheusJvmFormatterInfo.JvmCategory os
-
threads
public static final PrometheusJvmFormatterInfo.JvmCategory threads
-
classes
public static final PrometheusJvmFormatterInfo.JvmCategory classes
-
system
public static final PrometheusJvmFormatterInfo.JvmCategory system
-
-
Method Detail
-
values
public static PrometheusJvmFormatterInfo.JvmCategory[] 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 (PrometheusJvmFormatterInfo.JvmCategory c : PrometheusJvmFormatterInfo.JvmCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrometheusJvmFormatterInfo.JvmCategory 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 nameNullPointerException
- if the argument is null
-
-