Enum Class VeniceDCROperation
- All Implemented Interfaces:
VeniceDimensionInterface,Serializable,Comparable<VeniceDCROperation>,Constable
Dimension values for the
VeniceMetricsDimensions.VENICE_DCR_OPERATION dimension, representing the type of
deterministic conflict resolution (DCR) merge operation performed during active-active replication.
When a record update arrives at an active-active enabled store, the ingestion pipeline must merge the incoming update with the existing record using DCR logic. This dimension captures which type of merge operation was executed, enabling latency and throughput analysis per operation type.
Used by the ingestion.dcr.merge.time metric to break down DCR merge latency by operation type.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionAll instances of this enum share the same dimension name.static VeniceDCROperationReturns the enum constant of this class with the specified name.static VeniceDCROperation[]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.dimensions.VeniceDimensionInterface
getDimensionValue
-
Enum Constant Details
-
PUT
A put (full record write) merge operation was performed during conflict resolution -
UPDATE
An update (partial update / write compute) merge operation was performed during conflict resolution -
DELETE
A delete merge operation was performed during conflict resolution
-
-
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
-
getDimensionName
All instances of this enum share the same dimension name. Refer toVeniceDimensionInterface.getDimensionName()for more details.- Specified by:
getDimensionNamein interfaceVeniceDimensionInterface
-