We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,我看了你的UUIDUtils 这个类,有点不是很明白,为什么要getJVM(),getHighTime(),getCount() 我一般的习惯就是UUID.randomUUID,再替换一下"-",就拿去用了,能不能说说为什么,谢谢
The text was updated successfully, but these errors were encountered:
这样只是为了更好的防止冲突,你想好了,把虚拟机因数,时间因数都放到里面去,随机性就跟大了,java的randomUUID其实还是有一定概率重复的,虽然概率很小,他只是一个伪随机,
Sorry, something went wrong.
好的谢谢
No branches or pull requests
你好,我看了你的UUIDUtils 这个类,有点不是很明白,为什么要getJVM(),getHighTime(),getCount()
我一般的习惯就是UUID.randomUUID,再替换一下"-",就拿去用了,能不能说说为什么,谢谢
The text was updated successfully, but these errors were encountered: