public class NoopSpiSpecificSpan extends Object implements SpiSpecificSpan
SpiSpecificSpan
.Modifier and Type | Field and Description |
---|---|
static NoopSpiSpecificSpan |
INSTANCE
Instance.
|
Modifier and Type | Method and Description |
---|---|
NoopSpiSpecificSpan |
addLog(String logDesc)
Logs work to span.
|
NoopSpiSpecificSpan |
addTag(String tagName,
String tagVal)
Adds tag to span with
String value. |
NoopSpiSpecificSpan |
end()
Ends span.
|
boolean |
isEnded() |
NoopSpiSpecificSpan |
setStatus(SpanStatus spanStatus)
Explicitly set status for span.
|
public static final NoopSpiSpecificSpan INSTANCE
public NoopSpiSpecificSpan addTag(String tagName, String tagVal)
String
value.addTag
in interface SpiSpecificSpan
tagName
- Tag name.tagVal
- Tag value.public NoopSpiSpecificSpan addLog(String logDesc)
addLog
in interface SpiSpecificSpan
logDesc
- Log description.public NoopSpiSpecificSpan setStatus(SpanStatus spanStatus)
setStatus
in interface SpiSpecificSpan
spanStatus
- Status.public NoopSpiSpecificSpan end()
end
in interface SpiSpecificSpan
public boolean isEnded()
isEnded
in interface SpiSpecificSpan
true
if span has already ended.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024