接口 IdGenerator
public interface IdGenerator
Id generator.
- 作者:
- liaochuntao
-
方法概要
-
方法详细资料
-
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
Returns information for the current IDGenerator.- 返回:
Map
-