1
0
mirror of synced 2026-10-26 08:26:11 +08:00

auto commit

This commit is contained in:
yitter
2021-04-05 22:08:51 +08:00
parent c0c6a16f86
commit 464b579683

View File

@@ -126,7 +126,8 @@ SeqBitLength = 6
* | 1.相对基础时间的时间差 | 2.WorkerId | 3.自增数 |
* +-------------------------+------------+---------+
* +-------------------------+--- 6 bits --+- 6 bits -+
*
* 第1部分,时间差,是生成ID时的系统时间减去 BaseTime 的总时间差(毫秒单位)。
* 第2部分,WorkerId,是区分不同机器或不同应用的唯一ID,最大值由 WorkerIdBitLength(默认6)限定。
* 第3部分,自增数,是每毫秒下的自增数,由参数中的 SeqBitLength(默认6)限定。