![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IIdGeneratorNewId Method |
Generates and returns cluster-wide unique id.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxabstract NewId : unit -> int64
Return Value
Type:
Int64cluster-wide new unique id
Remarks
Generates and returns cluster-wide unique id.
Generated ids are guaranteed to be unique for the entire cluster
as long as the cluster is live. If the cluster restarts then
id generation will start from 0.
See Also