Class ZipkinIdProvider.ZipkinHexHelpers

java.lang.Object
com.helixframework.resttemplate.tracing.zipkin.ZipkinIdProvider.ZipkinHexHelpers
Enclosing class:
ZipkinIdProvider

protected static class ZipkinIdProvider.ZipkinHexHelpers extends Object

The code in this class came from the Zipkin repository v1.16.2 (https://github.com/openzipkin/zipkin/blob/1.16.2/zipkin/src/main/java/zipkin/internal/Util.java) and licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0).

  • Method Details

    • lowerHexToUnsignedLong

      public static long lowerHexToUnsignedLong(String lowerHex)
      Parses a 1 to 32 character lower-hex string with no prefix into an unsigned long, tossing any bits higher than 64.
      Parameters:
      lowerHex - string to convert to lower hex
      Returns:
      lower hex