public class Span extends AbstractModel
header, skipSign
Constructor and Description |
---|
Span() |
Span(Span source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getDuration()
Get Duration (ms).
|
SpanLog[] |
getLogs()
Get Log.
|
String |
getOperationName()
Get Span name.
|
String |
getParentSpanID()
Get Parent Span ID
|
SpanProcess |
getProcess()
Get Submit application service information.
|
SpanReference[] |
getReferences()
Get Association relationship.
|
String |
getSpanID()
Get Span ID
|
Long |
getStartTime()
Get Generated timestamp (ms).
|
Long |
getStartTimeMillis()
Get Generated timestamp (ms).
|
SpanTag[] |
getTags()
Get Tag.
|
Long |
getTimestamp()
Get Generated timestamp (ms).
|
String |
getTraceID()
Get Trace ID
|
void |
setDuration(Long Duration)
Set Duration (ms).
|
void |
setLogs(SpanLog[] Logs)
Set Log.
|
void |
setOperationName(String OperationName)
Set Span name.
|
void |
setParentSpanID(String ParentSpanID)
Set Parent Span ID
|
void |
setProcess(SpanProcess Process)
Set Submit application service information.
|
void |
setReferences(SpanReference[] References)
Set Association relationship.
|
void |
setSpanID(String SpanID)
Set Span ID
|
void |
setStartTime(Long StartTime)
Set Generated timestamp (ms).
|
void |
setStartTimeMillis(Long StartTimeMillis)
Set Generated timestamp (ms).
|
void |
setTags(SpanTag[] Tags)
Set Tag.
|
void |
setTimestamp(Long Timestamp)
Set Generated timestamp (ms).
|
void |
setTraceID(String TraceID)
Set Trace ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Span()
public Span(Span source)
public String getTraceID()
public void setTraceID(String TraceID)
TraceID
- Trace IDpublic SpanLog[] getLogs()
public void setLogs(SpanLog[] Logs)
Logs
- Log.public SpanTag[] getTags()
public void setTags(SpanTag[] Tags)
Tags
- Tag.public SpanProcess getProcess()
public void setProcess(SpanProcess Process)
Process
- Submit application service information.public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- Generated timestamp (ms).public String getOperationName()
public void setOperationName(String OperationName)
OperationName
- Span name.public SpanReference[] getReferences()
public void setReferences(SpanReference[] References)
References
- Association relationship.public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- Generated timestamp (ms).public Long getDuration()
public void setDuration(Long Duration)
Duration
- Duration (ms).public String getSpanID()
public void setSpanID(String SpanID)
SpanID
- Span IDpublic Long getStartTimeMillis()
public void setStartTimeMillis(Long StartTimeMillis)
StartTimeMillis
- Generated timestamp (ms).public String getParentSpanID()
public void setParentSpanID(String ParentSpanID)
ParentSpanID
- Parent Span IDCopyright © 2025. All rights reserved.