@IgniteSpiNoop @IgniteSpiMultipleInstancesSupport(value=true) @IgniteSpiConsistencyChecked(optional=true) public class NoopTracingSpi extends IgniteSpiAdapter implements TracingSpi<NoopSpiSpecificSpan>
ignite, igniteInstanceName, log
Constructor and Description |
---|
NoopTracingSpi() |
Modifier and Type | Method and Description |
---|---|
NoopSpiSpecificSpan |
create(@NotNull String name,
@Nullable byte[] serializedSpan)
Creates Span given name and explicit parent.
|
@NotNull NoopSpiSpecificSpan |
create(@NotNull String name,
@Nullable NoopSpiSpecificSpan parentSpan)
Creates Span given name and explicit parent.
|
byte[] |
serialize(@NotNull NoopSpiSpecificSpan span)
Serializes span to byte array to send context over network.
|
void |
spiStart(String igniteInstanceName)
This method is called to start SPI.
|
void |
spiStop()
This method is called to stop SPI.
|
byte |
type() |
addTimeoutObject, assertParameter, checkConfigurationConsistency0, clientFailureDetectionTimeout, configInfo, createSpiAttributeName, failureDetectionTimeout, failureDetectionTimeoutEnabled, failureDetectionTimeoutEnabled, getConsistentAttributeNames, getExceptionRegistry, getLocalNode, getName, getNodeAttributes, getSpiContext, ignite, initFailureDetectionTimeout, injectables, injectResources, isNodeStopping, onBeforeStart, onClientDisconnected, onClientReconnected, onContextDestroyed, onContextDestroyed0, onContextInitialized, onContextInitialized0, registerMBean, removeTimeoutObject, setName, started, startInfo, startStopwatch, stopInfo, unregisterMBean
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getNodeAttributes, onClientDisconnected, onClientReconnected, onContextDestroyed, onContextInitialized
public NoopSpiSpecificSpan create(@NotNull @NotNull String name, @Nullable @Nullable byte[] serializedSpan)
create
in interface TracingSpi<NoopSpiSpecificSpan>
name
- Name of span to create.serializedSpan
- Parent span as serialized bytes.@NotNull public @NotNull NoopSpiSpecificSpan create(@NotNull @NotNull String name, @Nullable @Nullable NoopSpiSpecificSpan parentSpan)
create
in interface TracingSpi<NoopSpiSpecificSpan>
name
- Name of span to create.parentSpan
- Parent span.public byte[] serialize(@NotNull @NotNull NoopSpiSpecificSpan span)
serialize
in interface TracingSpi<NoopSpiSpecificSpan>
span
- Span.public void spiStart(String igniteInstanceName) throws IgniteSpiException
spiStart
in interface IgniteSpi
igniteInstanceName
- Name of Ignite instance this SPI is being started for
(null
for default Ignite instance).IgniteSpiException
- Throws in case of any error during SPI start.public void spiStop() throws IgniteSpiException
Note that this method can be called at any point including during recovery of failed start. It should make no assumptions on what state SPI will be in when this method is called.
spiStop
in interface IgniteSpi
IgniteSpiException
- Thrown in case of any error during SPI stop.public byte type()
type
in interface TracingSpi<NoopSpiSpecificSpan>
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024