1
0
mirror of synced 2025-12-17 18:48:09 +08:00

editreadme

This commit is contained in:
zhouzj
2021-03-13 23:10:42 +08:00
parent 3e2186a5ee
commit 7b4816e7c7
8 changed files with 166 additions and 341 deletions

View File

@@ -17,6 +17,7 @@ public class IdGeneratorException extends RuntimeException {
public IdGeneratorException(Throwable cause) {
super(cause);
}
public IdGeneratorException(String message, Throwable cause) {
super(message, cause);
}

View File

@@ -9,6 +9,7 @@ package com.yitter.contract;
* 此处代码不采用 get/set 那种冗长的写法
*/
public class IdGeneratorOptions {
/**
* 雪花计算方法
* 1-漂移算法|2-传统算法默认1