public interface IDurationFunctionSampler extends IThreadAware
Duration is sampled.| Modifier and Type | Method and Description |
|---|---|
Duration |
getNextSample(Duration intervalStart,
Duration intervalStop,
Duration lastSample)
Gets the next duration at which to sample the function.
|
getIsThreadSafeclone@Nonnull Duration getNextSample(@Nonnull Duration intervalStart, @Nonnull Duration intervalStop, @Nonnull Duration lastSample)
intervalStart - The beginning of the overall interval being evaluated.intervalStop - The end of the overall interval being evaluated.lastSample - The previous duration at which the function was sampled.