@FunctionalInterface public static interface DurationSampleSuggestionCallback.Function
| Modifier and Type | Method and Description |
|---|---|
Duration |
invoke(Duration intervalStart,
Duration intervalStop,
Duration lastSample)
A callback that is invoked to determine the next duration at which
DurationFunctionExplorer
samples a function. |
@Nonnull Duration invoke(@Nonnull Duration intervalStart, @Nonnull Duration intervalStop, @Nonnull Duration lastSample)
DurationFunctionExplorer
samples a function.intervalStart - The beginning of the overall interval being evaluated.intervalStop - The end of the overall interval being evaluated.lastSample - The last duration that was sampled.