类 USnowflake

java.lang.Object
com.gdxsoft.easyweb.utils.USnowflake

public class USnowflake extends Object
  • 构造器详细资料

    • USnowflake

      public USnowflake()
  • 方法详细资料

    • getInstance

      public static Snowflake getInstance()
      Create a new snowflake instance
      返回:
    • nextId

      public static long nextId()
      Get the snowflake's next id
      返回:
      the next id