public class TransactionContext extends Object
| Constructor and Description |
|---|
TransactionContext() |
| Modifier and Type | Method and Description |
|---|---|
static TransactionContext |
current() |
boolean |
equals(Object o) |
io.opentelemetry.context.Context |
getContext() |
String |
getSpanId() |
String |
getSpanIdLong() |
String |
getTraceId() |
String |
getTraceIdLongLowPart() |
int |
hashCode() |
static TransactionContext |
of(io.opentelemetry.api.trace.Span span) |
TransactionContext |
setContext(io.opentelemetry.context.Context context) |
TransactionContext |
setSpanId(String spanId) |
TransactionContext |
setSpanIdLong(String spanIdLong) |
TransactionContext |
setTraceId(String traceId) |
TransactionContext |
setTraceIdLongLowPart(String traceIdLongLowPart) |
public static TransactionContext of(io.opentelemetry.api.trace.Span span)
public static TransactionContext current()
public io.opentelemetry.context.Context getContext()
public TransactionContext setContext(io.opentelemetry.context.Context context)
public String getSpanId()
public TransactionContext setSpanId(String spanId)
public String getTraceId()
public TransactionContext setTraceId(String traceId)
public String getSpanIdLong()
public TransactionContext setSpanIdLong(String spanIdLong)
public String getTraceIdLongLowPart()
public TransactionContext setTraceIdLongLowPart(String traceIdLongLowPart)
Copyright © 2024 AVIO Consulting. All rights reserved.