public interface ServerSpanState extends CommonSpanState
| Modifier and Type | Method and Description |
|---|---|
ServerSpan |
getCurrentServerSpan()
Gets the Span for the server request we are currently part of.
|
Endpoint |
getServerEndpoint()
Gets the Endpoint (ip, port, service name) for this service.
|
void |
setCurrentServerSpan(ServerSpan span)
Set span for current request.
|
sample@Nullable ServerSpan getCurrentServerSpan()
null will be returned.Endpoint getServerEndpoint()
void setCurrentServerSpan(ServerSpan span)
span - Span for current request.Copyright © 2015. All rights reserved.