As the question says, is this possible in GridGain, that is sequential across all nodes in the grid?
This would be like the File Time based GUID generation provided by the JUG Java library for sequential UUIDs, which is safe to use across Java VMs.
I have thought about using an AtomicSequence
to try to roll my own version, but am worried about the overhead of having a non-cached sequence, and would prefer something out of the box, if possible.
I believe GridCacheAtlomicLong or GridCacheAtomicSequence are the best options for this task.