接口 IdGenerator
-
public interface IdGeneratorId generator.- 作者:
- liaochuntao
-
-
方法详细资料
-
init
void init()
Perform the corresponding initialization operation.
-
currentId
long currentId()
current id info.- 返回:
- current id
-
workerId
long workerId()
worker id info.- 返回:
- worker id
-
nextId
long nextId()
Get next id.- 返回:
- next id
-
info
java.util.Map<java.lang.Object,java.lang.Object> info()
Returns information for the current IDGenerator.- 返回:
Map
-
-