mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add commeent
This commit is contained in:
parent
6ee0cc09b9
commit
752516e795
@ -107,7 +107,7 @@ public class IdUtil {
|
|||||||
* @param workerId 终端ID
|
* @param workerId 终端ID
|
||||||
* @param datacenterId 数据中心ID
|
* @param datacenterId 数据中心ID
|
||||||
* @return {@link Snowflake}
|
* @return {@link Snowflake}
|
||||||
* @deprecated 此方法容易产生歧义:多个Snowflake实例产生的ID会产生重复,此对象在单台机器上必须单例!
|
* @deprecated 此方法容易产生歧义:多个Snowflake实例产生的ID会产生重复,此对象在单台机器上必须单例,请使用{@link #getSnowflake(long, long)}
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static Snowflake createSnowflake(long workerId, long datacenterId) {
|
public static Snowflake createSnowflake(long workerId, long datacenterId) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user