Enum Class BasicConsumerStats.BasicConsumerMetricEntity
java.lang.Object
java.lang.Enum<BasicConsumerStats.BasicConsumerMetricEntity>
com.linkedin.davinci.consumer.stats.BasicConsumerStats.BasicConsumerMetricEntity
- All Implemented Interfaces:
ModuleMetricEntityInterface
,Serializable
,Comparable<BasicConsumerStats.BasicConsumerMetricEntity>
,Constable
- Enclosing class:
- BasicConsumerStats
public static enum BasicConsumerStats.BasicConsumerMetricEntity
extends Enum<BasicConsumerStats.BasicConsumerMetricEntity>
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 ConstantDescriptionMeasures the count of chunked records consumedMeasures the min/max consuming version across all subscribed partitionsMeasures the max heartbeat delay across all subscribed partitionsMeasures the count of poll invocationsMeasures the count of records consumedMeasures the count of version swaps -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HEART_BEAT_DELAY
Measures the max heartbeat delay across all subscribed partitions -
CURRENT_CONSUMING_VERSION
Measures the min/max consuming version across all subscribed partitions -
RECORDS_CONSUMED_COUNT
Measures the count of records consumed -
POLL_COUNT
Measures the count of poll invocations -
VERSION_SWAP_COUNT
Measures the count of version swaps -
CHUNKED_RECORD_COUNT
Measures the count of chunked records consumed
-
-
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
-