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

Type Parameters:
S - the backing state type
E - the enum dimension type
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.ValueResolverOneEnum<S,E extends Enum<E> & VeniceDimensionInterface>
Reads a double value from a non-null state plus the enum dimension. Used by AsyncMetricEntityStateOneEnum on combos for which AsyncMetricResolvers.LiveStateResolverOneEnum.resolve(E) returned non-null.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    extractValue(S state, E enumValue)
     
  • Method Details

    • extractValue

      double extractValue(@Nonnull S state, E enumValue)