@FunctionalInterface public static interface DurationSampleSuggestionCallback.Function
|Modifier and Type||Method and Description|
A callback that is invoked to determine the next duration at which
@Nonnull Duration invoke(@Nonnull Duration intervalStart, @Nonnull Duration intervalStop, @Nonnull Duration lastSample)
DurationFunctionExplorersamples 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.