Class SnowflakeIdTool

java.lang.Object
com.xxl.tool.id.SnowflakeIdTool

public class SnowflakeIdTool extends Object
uuid tool
Author:
xuxueli 2025-06-29
  • Constructor Details

    • SnowflakeIdTool

      public SnowflakeIdTool(long workerId)
  • Method Details

    • nextId

      public long nextId()
      get snowflake id
      Returns: