This commit is contained in:
@@ -11,7 +11,18 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* <p> 详情见: http://redkale.org
|
* <pre>
|
||||||
|
* int 10万-100万 (36进制 4位) 255t - lflr
|
||||||
|
* int 1000万-6000万 (36进制 5位) 5yc1t - zq0an
|
||||||
|
* int 2亿-10亿 (36进制 6位) 3b2ozl - gjdgxr
|
||||||
|
* long 30亿-770亿 (36进制 7位) 1dm4etd - zdft88v
|
||||||
|
* long 1000亿-9999亿 (36进制 8位) 19xtf1tt - cre66i9r
|
||||||
|
* 随机文件名: (32进制 26位)
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* 详情见: http://redkale.org
|
||||||
|
*
|
||||||
* @author zhangjx
|
* @author zhangjx
|
||||||
*/
|
*/
|
||||||
@Target({FIELD})
|
@Target({FIELD})
|
||||||
@@ -22,7 +33,7 @@ public @interface DistributeGenerator {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 如果allocationSize的值小于或等于1,则主键不会加上nodeid
|
* 如果allocationSize的值小于或等于1,则主键不会加上nodeid
|
||||||
*
|
*
|
||||||
* @return allocationSize
|
* @return allocationSize
|
||||||
*/
|
*/
|
||||||
int allocationSize() default 1000;
|
int allocationSize() default 1000;
|
||||||
|
|||||||
Reference in New Issue
Block a user