MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / generateUIDString

Method generateUIDString

test/core/BaseTsdbTest.java:533–535  ·  view source on GitHub ↗

Generates a UID of the proper length given a type and ID. @param type The type of UID. @param id The ID to set (just tweaks the last byte) @return A Unique ID of the proper width.

(final UniqueIdType type, byte id)

Source from the content-addressed store, hash-verified

531 * @return A Unique ID of the proper width.
532 */
533 public static String generateUIDString(final UniqueIdType type, byte id) {
534 return UniqueId.uidToString(generateUID(type, id));
535 }
536
537 /**
538 * Generates a TSUID given the metric and tag UIDs.

Callers

nothing calls this directly

Calls 2

uidToStringMethod · 0.95
generateUIDMethod · 0.95

Tested by

no test coverage detected