Interface LoadEstimator.SinglePointEstimationFunction

All Superinterfaces:
Serializable
Enclosing class:
LoadEstimator
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 LoadEstimator.SinglePointEstimationFunction extends Serializable
Functional interface for lambda expressions to express single-point load estimation functions.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    estimate(EstimationContext context, long[] inputEstimates, long[] outputEstimates)
    Estimate the load for the given artifact, input, and output estimates.
  • Method Details

    • estimate

      long estimate(EstimationContext context, long[] inputEstimates, long[] outputEstimates)
      Estimate the load for the given artifact, input, and output estimates.
      Parameters:
      context - within which the estimation should be done
      inputEstimates - the input cardinality estimates; should correspond to context
      outputEstimates - the output cardinality estimates; should correspond to context
      Returns:
      the load estimate