Package io.camunda.zeebe.engine.state
Interface KeyGeneratorControls
- All Superinterfaces:
KeyGenerator
- All Known Implementing Classes:
DbKeyGenerator
Allows to manipulate the key generator. Should be used with caution.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setKeyIfHigher
(long key) Set the given value as the new key if it is higher than the current key.Methods inherited from interface io.camunda.zeebe.engine.state.KeyGenerator
nextKey
-
Method Details
-
setKeyIfHigher
void setKeyIfHigher(long key) Set the given value as the new key if it is higher than the current key.- Parameters:
key
- the new key
-