public abstract class DistributedTraceId extends Object
DistributedTraceId presents a distributed call chain.
This call chain has a unique (service) entrance,
such as: Service : http://www.skywalking.com/cust/query, all the remote, called behind this service, rest remote,
db executions, are using the same DistributedTraceId even in different JVM.
The DistributedTraceId contains only one string, and can NOT be reset, creating a new instance is the
only option.
| Constructor and Description |
|---|
DistributedTraceId(ID id) |
DistributedTraceId(String id) |
| Modifier and Type | Method and Description |
|---|---|
String |
encode() |
boolean |
equals(Object o)
Compare the two
DistributedTraceId by its id,
even these two DistributedTraceIds are not the same instances. |
int |
hashCode() |
String |
toString() |
UniqueId |
toUniqueId() |
public DistributedTraceId(ID id)
public DistributedTraceId(String id)
Copyright © 2019 The Apache Software Foundation. All rights reserved.