Interface IdGenerator

All Known Implementing Classes:
SnowflakeIdGenerator

public interface IdGenerator
Input port for generating unique identifiers. Implementations decide the algorithm (Snowflake, ULID, etc.).
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
  • Method Details

    • nextId

      long nextId()