Interface AsyncMetricResolvers.LiveStateResolverTwoEnums<E1 extends Enum<E1> & VeniceDimensionInterface,E2 extends Enum<E2> & VeniceDimensionInterface,S>
- Type Parameters:
E1- the first enum dimension typeE2- the second enum dimension typeS- 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.LiveStateResolverTwoEnums<E1 extends Enum<E1> & VeniceDimensionInterface,E2 extends Enum<E2> & VeniceDimensionInterface,S>
Resolves the backing state for an
(e1, e2) dimension pair, or null when the
pair is dormant. The null return is the liveness signal used by
AsyncMetricEntityStateTwoEnums: dormant pairs are not observed by the SDK and
therefore do not count against the per-instrument cardinality cap.-
Method Summary
-
Method Details
-
resolve
-