public interface CommonSpanState
Should be thread aware since we can have multiple parallel request which means multiple trace/spans.
| Modifier and Type | Method and Description |
|---|---|
Boolean |
sample()
Indicates if we should sample current request.
|
Boolean sample()
null in case there is no indication if we should sample or not. true in case we got
the indication we should sample current request, false in case we should not sample the current
request.Copyright © 2015. All rights reserved.