public interface TracingSpi<S extends SpiSpecificSpan> extends IgniteSpi
Modifier and Type | Method and Description |
---|---|
S |
create(@NotNull String name,
@Nullable byte[] serializedSpan)
Creates Span given name and explicit parent.
|
S |
create(@NotNull String name,
S parentSpan)
Creates Span given name and explicit parent.
|
byte[] |
serialize(S span)
Serializes span to byte array to send context over network.
|
byte |
type() |
getName, getNodeAttributes, onClientDisconnected, onClientReconnected, onContextDestroyed, onContextInitialized, spiStart, spiStop
S create(@NotNull @NotNull String name, @Nullable @Nullable byte[] serializedSpan) throws Exception
name
- Name of span to create.serializedSpan
- Parent span as serialized bytes.Exception
- If failed to deserialize patent span.@NotNull S create(@NotNull @NotNull String name, @Nullable S parentSpan)
name
- Name of span to create.parentSpan
- Parent span.byte[] serialize(@NotNull S span)
span
- Span.byte type()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023