Class NoopIndexingSpi

    • Constructor Detail

      • NoopIndexingSpi

        public NoopIndexingSpi()
    • Method Detail

      • store

        public void store​(@Nullable
                          @Nullable String cacheName,
                          Object key,
                          Object val,
                          long expirationTime)
                   throws IgniteSpiException
        Updates index. Note that key is unique for cache, so if cache contains multiple indexes the key should be removed from indexes other than one being updated.
        Specified by:
        store in interface IndexingSpi
        Parameters:
        cacheName - Cache name.
        key - Key.
        val - Value.
        expirationTime - Expiration time or 0 if never expires.
        Throws:
        IgniteSpiException - If failed.
      • spiStart

        public void spiStart​(@Nullable
                             @Nullable String igniteInstanceName)
                      throws IgniteSpiException
        This method is called to start SPI. After this method returns successfully kernel assumes that SPI is fully operational.
        Specified by:
        spiStart in interface IgniteSpi
        Parameters:
        igniteInstanceName - Name of Ignite instance this SPI is being started for (null for default Ignite instance).
        Throws:
        IgniteSpiException - Throws in case of any error during SPI start.
      • spiStop

        public void spiStop()
                     throws IgniteSpiException
        This method is called to stop SPI. After this method returns kernel assumes that this SPI is finished and all resources acquired by it are released.

        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.

        Specified by:
        spiStop in interface IgniteSpi
        Throws:
        IgniteSpiException - Thrown in case of any error during SPI stop.