IdGenerator it is very simple to create cluster wide id's.See: Description
| Class | Description |
|---|---|
| IdGeneratorImpl |
Generates blocks with the help of an
IAtomicLong
For each block, id generation is simply a volatile increment |
| IdGeneratorProxy | |
| IdGeneratorService |
This package contains IdGenerator functionality for Hazelcast.
With the IdGenerator it is very simple to create cluster wide id's.
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 check and only when the chunk is depleted, cluster access is needed.
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.