public interface AsyncSpan
| Modifier and Type | Method and Description |
|---|---|
AbstractSpan |
asyncFinish()
Notify the span, it could be finished.
|
AbstractSpan |
prepareForAsync()
The span finish at current tracing context, but the current span is still alive, until
asyncFinish()
called. |
AbstractSpan prepareForAsync()
asyncFinish()
called.
This method must be called
1. In original thread(tracing context).
2. Current span is active span.
During alive, tags, logs and attributes of the span could be changed, in any thread.
The execution times of prepareForAsync() and asyncFinish() must match.AbstractSpan asyncFinish()
prepareForAsync() and asyncFinish() must match.Copyright © 2019 The Apache Software Foundation. All rights reserved.