Generates blocks with the help of an
IdGenerator it is very simple to create cluster wide IDs.
This can also be done with the
IAtomicLong, but this would require
access to the cluster for every ID generated. With the IdGenerator this is a lot more efficient
by claiming a whole chunk and only when the chunk is depleted, cluster access is needed.
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.