Package reactivefeign.client.metrics
Enum MetricsTag
- java.lang.Object
-
- java.lang.Enum<MetricsTag>
-
- reactivefeign.client.metrics.MetricsTag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MetricsTag>
public enum MetricsTag extends java.lang.Enum<MetricsTag>
Patterned by https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-metrics.html#production-ready-metrics-http-clients
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCEPTIONFEIGN_CLIENT_METHODHOSTHTTP_METHODSTATUSURI_TEMPLATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Set<MetricsTag>getMandatory()java.lang.StringgetTagName()static MetricsTagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MetricsTag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FEIGN_CLIENT_METHOD
public static final MetricsTag FEIGN_CLIENT_METHOD
-
URI_TEMPLATE
public static final MetricsTag URI_TEMPLATE
-
HTTP_METHOD
public static final MetricsTag HTTP_METHOD
-
HOST
public static final MetricsTag HOST
-
STATUS
public static final MetricsTag STATUS
-
EXCEPTION
public static final MetricsTag EXCEPTION
-
-
Method Detail
-
values
public static MetricsTag[] 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 (MetricsTag c : MetricsTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetricsTag 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 namejava.lang.NullPointerException- if the argument is null
-
getTagName
public java.lang.String getTagName()
-
getMandatory
public static java.util.Set<MetricsTag> getMandatory()
-
-