Package org.agrona.concurrent
Interface IdGenerator
-
- All Known Implementing Classes:
SnowflakeIdGenerator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IdGenerator
Generates unique identifiers that fit in a 64-bit word.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
nextId()
Generate the next unique id.
-