IntervalKeyPool
A key pool that returns the integers of the interval [first, last] in a thread-safe manner.
Value members
Concrete methods
Get next number in interval or raise if
number is larger than last
Get next number in interval or raise if
number is larger than last
Split key pool into numberOfPartitions
partitions
of mostly equal size. Invalidates the current pool
to ensure that the user does not continue to use both
the original pool and pools derived from it via split
.
Split key pool into numberOfPartitions
partitions
of mostly equal size. Invalidates the current pool
to ensure that the user does not continue to use both
the original pool and pools derived from it via split
.