Interface KeyGeneratorControls

All Superinterfaces:
KeyGenerator
All Known Implementing Classes:
DbKeyGenerator

public interface KeyGeneratorControls extends KeyGenerator
Allows to manipulate the key generator. Should be used with caution.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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