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 TypeMethodDescriptionlongestimate(EstimationContext context, long[] inputEstimates, long[] outputEstimates) Estimate the load for the given artifact, input, and output estimates.
-
Method Details
-
estimate
Estimate the load for the given artifact, input, and output estimates.- Parameters:
context- within which the estimation should be doneinputEstimates- the input cardinality estimates; should correspond tocontextoutputEstimates- the output cardinality estimates; should correspond tocontext- Returns:
- the load estimate
-