类 ConfShowflake

java.lang.Object
com.gdxsoft.easyweb.conf.ConfShowflake

public class ConfShowflake extends Object
Get the configuration of the snowflake parameters (workId, datacenterId)
  • 构造器详细资料

    • ConfShowflake

      public ConfShowflake()
  • 方法详细资料

    • getInstance

      public static ConfShowflake getInstance()
    • getWorkId

      public Long getWorkId()
    • setWorkId

      public void setWorkId(Long workId)
    • getDatacenterId

      public Long getDatacenterId()
    • setDatacenterId

      public void setDatacenterId(Long datacenterId)