public class UuidUtils extends Object
Constructor and Description |
---|
UuidUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getUUID()
生成uuid,采用 jdk 9 的形式,优化性能
copy from mica:https://github.com/lets-mica/mica/blob/master/mica-core/src/main/java/net/dreamlu/mica/core/utils/StringUtil.java#L335
|
public static String getUUID()
关于mica uuid生成方式的压测结果,可以参考:https://github.com/lets-mica/mica-jmh/wiki/uuid
Copyright © 2021. All rights reserved.