Package graphql.util
Class IdGenerator
- java.lang.Object
-
- graphql.util.IdGenerator
-
public class IdGenerator extends java.lang.Object
An id generator that usesSecureRandom
for the initial seed andRandom
thereafter. This provides a better balance between securely random ids and performance.
-
-
Constructor Summary
Constructors Constructor Description IdGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.UUID
generateId()
static java.util.UUID
uuid()
-