Enum StreamObservationDocumentation
- java.lang.Object
-
- java.lang.Enum<StreamObservationDocumentation>
-
- com.rabbitmq.stream.observation.micrometer.StreamObservationDocumentation
-
- All Implemented Interfaces:
io.micrometer.observation.docs.ObservationDocumentation,Serializable,Comparable<StreamObservationDocumentation>
public enum StreamObservationDocumentation extends Enum<StreamObservationDocumentation> implements io.micrometer.observation.docs.ObservationDocumentation
ObservationDocumentationfor RabbitMQ Stream.- Since:
- 0.12.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamObservationDocumentation.HighCardinalityTagsHigh cardinality tags.static classStreamObservationDocumentation.LowCardinalityTagsLow cardinality tags.
-
Enum Constant Summary
Enum Constants Enum Constant Description PROCESS_OBSERVATIONObservation for processing a message.PUBLISH_OBSERVATIONObservation for publishing a message.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StreamObservationDocumentationvalueOf(String name)Returns the enum constant of this type with the specified name.static StreamObservationDocumentation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLISH_OBSERVATION
public static final StreamObservationDocumentation PUBLISH_OBSERVATION
Observation for publishing a message.
-
PROCESS_OBSERVATION
public static final StreamObservationDocumentation PROCESS_OBSERVATION
Observation for processing a message.
-
-
Method Detail
-
values
public static StreamObservationDocumentation[] 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 (StreamObservationDocumentation c : StreamObservationDocumentation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamObservationDocumentation 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
-
-