Interface AsyncMetricResolvers.LiveStateResolverOneEnum<E extends Enum<E> & VeniceDimensionInterface,S>

Type Parameters:
E - the enum dimension type
S - the backing state type (any reference type — never inspected beyond null-check)
Enclosing class:
AsyncMetricResolvers
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AsyncMetricResolvers.LiveStateResolverOneEnum<E extends Enum<E> & VeniceDimensionInterface,S>
Resolves the backing state for one enum dimension value, or null when the combo is dormant. The null return is the liveness signal used by AsyncMetricEntityStateOneEnum: dormant combos are not observed by the SDK and therefore do not count against the per-instrument cardinality cap.
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(E enumValue)
     
  • Method Details

    • resolve

      @Nullable S resolve(E enumValue)