| Constructor and Description |
|---|
DeferredSpan(byte[] serializedSpan)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Span |
addLog(Supplier<String> logDescSupplier)
Logs work to span.
|
Span |
addTag(String tagName,
Supplier<String> tagValSupplier)
Adds tag to span with
String value. |
Span |
end()
Ends span.
|
Set<Scope> |
includedScopes() |
boolean |
isChainable(Scope scope) |
boolean |
isEnded() |
byte[] |
serializedSpan() |
Span |
setStatus(SpanStatus spanStatus)
Explicitly set status for span.
|
SpanType |
type() |
public DeferredSpan(byte[] serializedSpan)
serializedSpan - Serialized span bytes.public byte[] serializedSpan()
public Span addTag(String tagName, Supplier<String> tagValSupplier)
String value.public Span setStatus(SpanStatus spanStatus)
public Span end()
public boolean isEnded()
public Set<Scope> includedScopes()
includedScopes in interface Spanpublic boolean isChainable(Scope scope)
isChainable in interface Spanscope - Chainable scope candidate.true if given span is chainable with other spans with specified scope.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021