1
0
mirror of synced 2026-02-26 06:47:58 +08:00

auto commit

This commit is contained in:
yitter
2021-04-05 22:10:56 +08:00
parent 0f35330f10
commit 27cbb23ff8

View File

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