org.apache.ignite.spi.tracing

## Interface SpiSpecificSpan

- All Known Implementing Classes:
    NoopSpiSpecificSpan, OpenCensusSpanAdapter

      public interface SpiSpecificSpan

  Logical piece of a trace that insulates spi specific logic.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `SpiSpecificSpan` | `addLog(String logDesc)` Logs work to span.
    `SpiSpecificSpan` | `addTag(String tagName, String tagVal)` Adds tag to span with `String` value.
    `SpiSpecificSpan` | `end()` Ends span.
    `boolean` | `isEnded()`
    `SpiSpecificSpan` | `setStatus(SpanStatus spanStatus)` Explicitly set status for span.

- - ### Method Detail

    - #### addTag

          SpiSpecificSpan addTag(String tagName,
                                 String tagVal)

      Adds tag to span with `String` value.
      Parameters:
        `tagName` - Tag name.
        `tagVal` - Tag value.

    - #### addLog

          SpiSpecificSpan addLog(String logDesc)

      Logs work to span.
      Parameters:
        `logDesc` - Log description.

    - #### setStatus

          SpiSpecificSpan setStatus(SpanStatus spanStatus)

      Explicitly set status for span.
      Parameters:
        `spanStatus` - Status.

    - #### end

          SpiSpecificSpan end()

      Ends span. This action sets default status if not set and mark the span as ready to be exported.

    - #### isEnded

          boolean isEnded()

      Returns:
        `true` if span has already ended.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.11.0
Release Date | : September 11 2021