Interface longIntervalSupplier
public interface longIntervalSupplier
-
Method Summary
Modifier and TypeMethodDescriptionlonggetCycleInterval(int stride) Get the next interval to be consumed by the caller, where the first value is the returned value, and the last value is one less than the first value plus the stride.
-
Method Details
-
getCycleInterval
long getCycleInterval(int stride) Get the next interval to be consumed by the caller, where the first value is the returned value, and the last value is one less than the first value plus the stride.- Parameters:
stride- How many values to request- Returns:
- the base value of the interval to consume
-