1
0
mirror of synced 2025-12-14 09:08:09 +08:00

auto commit

This commit is contained in:
zhouzj
2021-03-24 00:45:43 +08:00
parent f5bf463370
commit 647bbf7fa2
13 changed files with 102 additions and 48 deletions

View File

@@ -20,7 +20,6 @@ public class GenTest {
public void GenStart() {
long start = System.currentTimeMillis();
long id = 0;
for (int i = 0; i < GenIdCount; i++) {

View File

@@ -22,11 +22,9 @@ public class StartUp {
public static void main(String[] args) {
IdGeneratorOptions options = new IdGeneratorOptions();
// options.TopOverCostCount = 10000;
options.WorkerIdBitLength = 6;
options.SeqBitLength = 6;
// options.WorkerIdBitLength = 6;
// options.SeqBitLength = 6;
// options.TopOverCostCount = 2000;
// options.MinSeqNumber = 5;
// options.MaxSeqNumber = 200;