接口 IdGenerator


public interface IdGenerator
Id generator.
作者:
liaochuntao
  • 方法概要

    修饰符和类型
    方法
    说明
    long
    current id info.
    Returns information for the current IDGenerator.
    void
    Perform the corresponding initialization operation.
    long
    Get next id.
  • 方法详细资料

    • init

      void init()
      Perform the corresponding initialization operation.
    • currentId

      long currentId()
      current id info.
      返回:
      current id
    • nextId

      long nextId()
      Get next id.
      返回:
      next id
    • info

      Map<Object,​Object> info()
      Returns information for the current IDGenerator.
      返回:
      Map