ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muthu <muthu.kumara...@gmail.com>
Subject Grid/Cluster unique UUID possible with IgniteUuid?
Date Fri, 09 Jun 2017 17:27:41 GMT
Hi Folks,

Is it possible to generate a Grid/Cluster unique UUID using IgniteUuid. I
looked at the source code & static factory method *randomUuid
<https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/lang/IgniteUuid.html#randomUuid%28%29>*().
It looks like it generates one with with a java.util.UUID (generated with
its randomUUID) & an AutomicLong's incrementAndGet

Can i safely assume that given that it uses a combination of UUID & long on
the individual VMs that are part of the Grid/Cluster it will be unique or
is there a better way?

Regards,
Muthu

Mime
View raw message