Interface LatencyAdaptiveGroupSelector.GroupBucketLatencyProvider

Enclosing class:
LatencyAdaptiveGroupSelector
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 LatencyAdaptiveGroupSelector.GroupBucketLatencyProvider
Maps a group and a bucket (its lower key-count bound) to its avg latency in ms; non-positive = unmeasured.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    latencyMs(int groupId, int bucketKey)
     
  • Method Details

    • latencyMs

      double latencyMs(int groupId, int bucketKey)