Package org.apache.ignite.spi.tracing
Interface TracingSpi<S extends SpiSpecificSpan>
- 
- All Superinterfaces:
- IgniteSpi
 - All Known Implementing Classes:
- NoopTracingSpi,- OpenCensusTracingSpi
 
 public interface TracingSpi<S extends SpiSpecificSpan> extends IgniteSpi Tracing SPI interface.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Screate(@NotNull String name, @org.jetbrains.annotations.Nullable byte[] serializedSpan)Creates Span given name and explicit parent.Screate(@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.bytetype()- 
Methods inherited from interface org.apache.ignite.spi.IgniteSpigetName, getNodeAttributes, onClientDisconnected, onClientReconnected, onContextDestroyed, onContextInitialized, spiStart, spiStop
 
- 
 
- 
- 
- 
Method Detail- 
createS create(@NotNull @NotNull String name, @Nullable @org.jetbrains.annotations.Nullable byte[] serializedSpan) throws Exception Creates Span given name and explicit parent.- Parameters:
- name- Name of span to create.
- serializedSpan- Parent span as serialized bytes.
- Returns:
- Created span.
- Throws:
- Exception- If failed to deserialize patent span.
 
 - 
create@NotNull S create(@NotNull @NotNull String name, @Nullable S parentSpan) Creates Span given name and explicit parent.- Parameters:
- name- Name of span to create.
- parentSpan- Parent span.
- Returns:
- Span instance.
 
 - 
serializebyte[] serialize(@NotNull S span)Serializes span to byte array to send context over network.- Parameters:
- span- Span.
- Returns:
- Span instance.
 
 - 
typebyte type() - Returns:
- type of tracing spi as byte.
 
 
- 
 
-