public abstract class AbstractSystemViewExporterSpi extends IgniteSpiAdapter implements SystemViewExporterSpi
SystemViewExporterSpi implementations.| Modifier and Type | Field and Description |
|---|---|
protected @Nullable Predicate<SystemView<?>> |
filter
System view filter.
|
protected ReadOnlySystemViewRegistry |
sysViewReg
System view registry.
|
ignite, igniteInstanceName, log| Constructor and Description |
|---|
AbstractSystemViewExporterSpi() |
| Modifier and Type | Method and Description |
|---|---|
void |
setExportFilter(Predicate<SystemView<?>> filter)
Sets export filter.
|
void |
setSystemViewRegistry(ReadOnlySystemViewRegistry mlreg)
Sets system view registry that SPI should export.
|
void |
spiStart(@Nullable String igniteInstanceName)
This method is called to start SPI.
|
void |
spiStop()
This method is called to stop SPI.
|
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, unregisterMBeanclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getNodeAttributes, onClientDisconnected, onClientReconnected, onContextDestroyed, onContextInitializedprotected ReadOnlySystemViewRegistry sysViewReg
@Nullable protected @Nullable Predicate<SystemView<?>> filter
public void spiStart(@Nullable
@Nullable String igniteInstanceName)
throws IgniteSpiException
spiStart in interface IgniteSpiigniteInstanceName - 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 IgniteSpiIgniteSpiException - Thrown in case of any error during SPI stop.public void setSystemViewRegistry(ReadOnlySystemViewRegistry mlreg)
IgniteSpi.spiStart(String).setSystemViewRegistry in interface SystemViewExporterSpimlreg - System view registry.public void setExportFilter(Predicate<SystemView<?>> filter)
filter shouldn't be exported.setExportFilter in interface SystemViewExporterSpifilter - Filter.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021