See: Description
Class | Description |
---|---|
IdGeneratorImpl |
Generates blocks with the help of an
IAtomicLong . |
IdGeneratorProxy | |
IdGeneratorService |
With the 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 © 2018 Hazelcast, Inc.. All Rights Reserved.