Package io.camunda.zeebe.engine.state
Interface KeyGenerator
-
- All Known Subinterfaces:
KeyGeneratorControls
- All Known Implementing Classes:
DbKeyGenerator
- 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 KeyGenerator
Generate unique keys. Should be used for records only.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
nextKey()
Returns the next key of a record and updates the key generator.
-