public class SpanUniqueIdGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLIENT_ID_SUFFIX |
| Constructor and Description |
|---|
SpanUniqueIdGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getClientId(String id) |
static String |
toOriginal(Span span)
Reverse method to the
toUnique(Span) to generate original
id from the unique id. |
static String |
toUnique(Span span)
Utility method to get unique id of the span.
|
protected static final String CLIENT_ID_SUFFIX
public static String toUnique(Span span)
span - Span.public static String toOriginal(Span span)
toUnique(Span) to generate original
id from the unique id.span - Span with unique id.Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.