Package graphql.util

Class IdGenerator

java.lang.Object
graphql.util.IdGenerator

public class IdGenerator extends Object
An id generator that uses SecureRandom for the initial seed and Random thereafter. This provides a better balance between securely random ids and performance.
  • Constructor Details

    • IdGenerator

      public IdGenerator()
  • Method Details

    • uuid

      public static UUID uuid()
    • generateId

      public UUID generateId()