public class TraceSegmentRef extends Object
TraceSegmentRef is like a pointer, which ref to another TraceSegment, use spanId point to
the exact span of the ref TraceSegment.
Created by wusheng on 2017/2/17.
| Modifier and Type | Class and Description |
|---|---|
static class |
TraceSegmentRef.SegmentRefType |
| Constructor and Description |
|---|
TraceSegmentRef(ContextCarrier carrier)
Transform a
ContextCarrier to the TraceSegmentRef |
TraceSegmentRef(ContextSnapshot snapshot) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getEntryEndpointId() |
String |
getEntryEndpointName() |
int |
getEntryServiceInstanceId() |
int |
hashCode() |
SegmentReference |
transform() |
public TraceSegmentRef(ContextCarrier carrier)
ContextCarrier to the TraceSegmentRefcarrier - the valid cross-process propagation format.public TraceSegmentRef(ContextSnapshot snapshot)
public String getEntryEndpointName()
public int getEntryEndpointId()
public int getEntryServiceInstanceId()
public SegmentReference transform()
Copyright © 2019 The Apache Software Foundation. All rights reserved.