Package graphql.util
Class AlternativeJdkIdGenerator
- java.lang.Object
-
- graphql.util.AlternativeJdkIdGenerator
-
public class AlternativeJdkIdGenerator 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 AlternativeJdkIdGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.UUID
generateId()
static java.util.UUID
uuid()
-