CommonSpanStateServerClientAndLocalSpanStateInheritableServerClientAndLocalSpanState, ThreadLocalServerClientAndLocalSpanStatebrave.propagation.CurrentTraceContext@Deprecated public interface ServerSpanState extends CommonSpanState
| Modifier and Type | Method | Description |
|---|---|---|
ServerSpan |
getCurrentServerSpan() |
Deprecated.
Gets the Span for the server request we are currently part of.
|
void |
setCurrentServerSpan(ServerSpan span) |
Deprecated.
Set span for current request.
|
endpoint, sample@Nullable ServerSpan getCurrentServerSpan()
null will be returned.void setCurrentServerSpan(@Nullable ServerSpan span)
span - Span for current request.Copyright © 2018 OpenZipkin. All rights reserved.