editreadme
This commit is contained in:
@@ -17,6 +17,7 @@ public class IdGeneratorException extends RuntimeException {
|
||||
public IdGeneratorException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public IdGeneratorException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ package com.yitter.contract;
|
||||
* 此处代码不采用 get/set 那种冗长的写法
|
||||
*/
|
||||
public class IdGeneratorOptions {
|
||||
|
||||
/**
|
||||
* 雪花计算方法
|
||||
* (1-漂移算法|2-传统算法),默认1
|
||||
|
||||
Reference in New Issue
Block a user