public class TraceableContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AtomicLong |
receiveTime |
protected AtomicLong |
sendTime |
protected Map<String,String> |
traceInfoMap |
| Constructor and Description |
|---|
TraceableContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTraceInfo(String key,
String value) |
long |
getReceiveTime() |
long |
getSendTime() |
String |
getTraceInfo(String key) |
Map<String,String> |
getTraceInfoMap() |
void |
setReceiveTime(long receiveTime) |
void |
setSendTime(long sendTime) |
String |
toString() |
protected AtomicLong receiveTime
protected AtomicLong sendTime
Copyright © 2020. All rights reserved.