public class StripedIDGenerator
extends java.lang.Object
next()
return numbers which are unique across all calling threads, and which are increasing over calls within one thread.Constructor and Description |
---|
StripedIDGenerator() |
Modifier and Type | Method and Description |
---|---|
long |
next() |