Enum Class LogCompactionStats.LogCompactionOtelMetricEntity
java.lang.Object
java.lang.Enum<LogCompactionStats.LogCompactionOtelMetricEntity>
com.linkedin.venice.controller.stats.LogCompactionStats.LogCompactionOtelMetricEntity
- All Implemented Interfaces:
ModuleMetricEntityInterface,Serializable,Comparable<LogCompactionStats.LogCompactionOtelMetricEntity>,Constable
- Enclosing class:
- LogCompactionStats
public static enum LogCompactionStats.LogCompactionOtelMetricEntity
extends Enum<LogCompactionStats.LogCompactionOtelMetricEntity>
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 ConstantDescriptionTrack the state from the time a store is nominated for compaction to the time the repush is completed to finish compaction.Count of stores nominated for scheduled compactionCount of log compaction repush triggered for a store after it becomes eligibleCount of all requests to repush a store -
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.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.linkedin.venice.stats.metrics.ModuleMetricEntityInterface
getMetricName
-
Enum Constant Details
-
STORE_REPUSH_CALL_COUNT
Count of all requests to repush a store -
STORE_COMPACTION_NOMINATED_COUNT
public static final LogCompactionStats.LogCompactionOtelMetricEntity STORE_COMPACTION_NOMINATED_COUNTCount of stores nominated for scheduled compaction -
STORE_COMPACTION_ELIGIBLE_STATE
public static final LogCompactionStats.LogCompactionOtelMetricEntity STORE_COMPACTION_ELIGIBLE_STATETrack the state from the time a store is nominated for compaction to the time the repush is completed to finish compaction. stays 1 after nomination and becomes 0 when the compaction is compacted -
STORE_COMPACTION_TRIGGERED_COUNT
public static final LogCompactionStats.LogCompactionOtelMetricEntity STORE_COMPACTION_TRIGGERED_COUNTCount of log compaction repush triggered for a store after it becomes eligible
-
-
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:
getMetricEntityin interfaceModuleMetricEntityInterface
-