Browse Source

auto commit

tags/v1.1.0
yitter 3 years ago
parent
commit
ac86450f9e
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      Java/source/src/main/java/com/github/yitter/test/StartUp.java

+ 1
- 4
Java/source/src/main/java/com/github/yitter/test/StartUp.java View File

@@ -24,11 +24,8 @@ public class StartUp {
IdGeneratorOptions options = new IdGeneratorOptions(); IdGeneratorOptions options = new IdGeneratorOptions();
// options.WorkerIdBitLength = 6; // options.WorkerIdBitLength = 6;
// options.SeqBitLength = 6; // options.SeqBitLength = 6;
// options.TopOverCostCount = 2000;
// options.MinSeqNumber = 5;
// options.MaxSeqNumber = 200;
// options.BaseTime = 1582206693000L;
options.Method = method; options.Method = method;
options.BaseTime = 1582206693000L;
options.WorkerId = 1; options.WorkerId = 1;
// 首先测试一下 IdHelper 方法,获取单个Id // 首先测试一下 IdHelper 方法,获取单个Id


Loading…
Cancel
Save