Interface AdaptiveSamplingPolicy.BackpressureSignal

Enclosing class:
AdaptiveSamplingPolicy
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 AdaptiveSamplingPolicy.BackpressureSignal
Externally-supplied utilisation signal. Implementations measure the publisher / aggregator load and return a value in [0.0, 1.0]; values outside that range are clamped.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
  • Method Details

    • utilisation

      double utilisation()