Enum Class FastClientMetricEntity
- All Implemented Interfaces:
ModuleMetricEntityInterface
,Serializable
,Comparable<FastClientMetricEntity>
,Constable
public enum FastClientMetricEntity
extends Enum<FastClientMetricEntity>
implements ModuleMetricEntityInterface
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMetadata staleness watermark reported asynchronously in milliseconds.Fanout size distribution for requests, with fanout type as a dimension.Count of requests rejected by the client.Ratio of requests rejected by the client to total requests.Count of retry requests where the retry "won" (outperformed the original). -
Method Summary
Modifier and TypeMethodDescriptionstatic FastClientMetricEntity
Returns the enum constant of this class with the specified name.static FastClientMetricEntity[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RETRY_REQUEST_WIN_COUNT
Count of retry requests where the retry "won" (outperformed the original). -
METADATA_STALENESS_DURATION
Metadata staleness watermark reported asynchronously in milliseconds. -
REQUEST_FANOUT_COUNT
Fanout size distribution for requests, with fanout type as a dimension. -
REQUEST_REJECTION_COUNT
Count of requests rejected by the client. -
REQUEST_REJECTION_RATIO
Ratio of requests rejected by the client to total requests. TODO: Evaluate if this metric can be implemented as a derived OTel metric and if so, migrate to that.
-
-
Method Details
-
values
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
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 nameNullPointerException
- if the argument is null
-
getMetricEntity
- Specified by:
getMetricEntity
in interfaceModuleMetricEntityInterface
-