public abstract static class SpanAndEndpoint.ServerSpanAndEndpoint extends Object implements SpanAndEndpoint
SpanAndEndpoint.ClientSpanAndEndpoint, SpanAndEndpoint.LocalSpanAndEndpoint, SpanAndEndpoint.ServerSpanAndEndpoint, SpanAndEndpoint.StaticSpanAndEndpoint| Constructor and Description |
|---|
ServerSpanAndEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
endpoint()
Indicates the network context of the local service being traced.
|
Span |
span()
Gets the span to which to add annotations.
|
public Span span()
span in interface SpanAndEndpointnull. In that case the different submit methods will not
do anything.public Endpoint endpoint()
endpoint in interface SpanAndEndpointnull.Copyright © 2016. All rights reserved.