Class UUIDStringUtils

java.lang.Object
io.sentry.util.UUIDStringUtils

public final class UUIDStringUtils extends Object
Utility class to convert UUIDs and longs to Sentry ID Strings

Adapted from Jon Chambers' work here.

  • Constructor Details

    • UUIDStringUtils

      public UUIDStringUtils()
  • Method Details

    • toSentryIdString

      public static String toSentryIdString(UUID uuid)
    • toSentryIdString

      public static String toSentryIdString(long mostSignificantBits, long leastSignificantBits)
    • toSentrySpanIdString

      public static String toSentrySpanIdString(UUID uuid)
    • toSentrySpanIdString

      public static String toSentrySpanIdString(long mostSignificantBits)