IdGenerator
it is very simple to create cluster wide id's.See: Description
Class | Description |
---|---|
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 © 2015 Hazelcast, Inc.. All Rights Reserved.