@IgniteSpiNoop public class NoopIndexingSpi extends IgniteSpiAdapter implements IndexingSpi
IndexingSpi which does not index cache.ignite, igniteInstanceName, log| Constructor and Description |
|---|
NoopIndexingSpi() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<javax.cache.Cache.Entry<?,?>> |
query(@Nullable String cacheName,
Collection<Object> params,
@Nullable IndexingQueryFilter filters)
Executes query.
|
void |
remove(@Nullable String cacheName,
Object key)
Removes index entry by key.
|
NoopIndexingSpi |
setName(String name)
Sets SPI name.
|
void |
spiStart(@Nullable String igniteInstanceName)
This method is called to start SPI.
|
void |
spiStop()
This method is called to stop SPI.
|
void |
store(@Nullable String cacheName,
Object key,
Object val,
long expirationTime)
Updates index.
|
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, started, startInfo, startStopwatch, stopInfo, unregisterMBeanclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getNodeAttributes, onClientDisconnected, onClientReconnected, onContextDestroyed, onContextInitializedpublic Iterator<javax.cache.Cache.Entry<?,?>> query(@Nullable @Nullable String cacheName, Collection<Object> params, @Nullable @Nullable IndexingQueryFilter filters) throws IgniteSpiException
query in interface IndexingSpicacheName - Cache name.params - Query parameters.filters - System filters.AutoCloseable it will be correctly closed.IgniteSpiException - If failed.public void store(@Nullable
@Nullable String cacheName,
Object key,
Object val,
long expirationTime)
throws IgniteSpiException
store in interface IndexingSpicacheName - Cache name.key - Key.val - Value.expirationTime - Expiration time or 0 if never expires.IgniteSpiException - If failed.public void remove(@Nullable
@Nullable String cacheName,
Object key)
throws IgniteSpiException
remove in interface IndexingSpicacheName - Cache name.key - Key.IgniteSpiException - If failed.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 NoopIndexingSpi setName(String name)
setName in class IgniteSpiAdaptername - SPI name.this for chaining.
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025