- All Known Implementing Classes:
TimeBasedGenerator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Generates ids as their parts, for layouts wider than a
long such as the 80-bit CosId; implemented by
TimeBasedGenerator, and the view of a cosid80 generator.-
Method Summary
-
Method Details
-
nextParts
IdParts nextParts()The parts of the next id; thread-safe, never the same parts twice.- Returns:
- the parts
-