Indexer Module
Config
This class provides access to indexer configuration data defined in indexer.xml files across all Magento modules. Developers use it to retrieve the li...
Config\Data
This class provides access to indexer configuration data loaded from XML files. It extends Magento's base Config\Data class to add automatic cleanup o...
DimensionMode
This class serves as a Data Transfer Object (DTO) that encapsulates dimension mode configuration for Magento indexers. Developers use it to define and...
DimensionModes
This class serves as a Data Transfer Object (DTO) that manages and stores dimension modes for indexers in Magento 2. Developers use it to organize and...
IndexMutex
This class prevents race conditions when multiple indexers try to access the same index table simultaneously. It uses a locking mechanism to ensure on...
Indexer
This class represents an individual indexer in Magento 2, managing the full lifecycle of index operations including reindexing, validation, and schedu...
Indexer\CacheCleaner
This class is a plugin that manages cache cleaning during indexer operations. It defers cache invalidation until after reindex operations (full, list,...
Indexer\DeferCacheCleaning
This class is a plugin that intercepts cache tag registration operations during indexing. It defers cache cleaning operations when the deferred cache...
Indexer\DeferredCacheCleaner
This class manages deferred cache cleaning during indexer operations. Developers use it to accumulate cache invalidation tags during indexing operatio...
Indexer\DeferredCacheContext
This class defers cache invalidation operations during indexing processes to improve performance. Instead of immediately registering cache tags and en...
Indexer\DependencyDecorator
This decorator class wraps Magento 2 indexers to automatically handle dependencies between them. When an indexer is invalidated or reindexed, it ensur...
Indexer\State
This class manages the state of individual indexers in Magento 2, tracking their status (invalid, valid, working) and last update time. Developers use...
Message\Invalid
This class displays an admin notification message when one or more Magento indexers are in an invalid state. Developers would use or extend this class...
Model\Indexer\Collection
This class manages a collection of indexer objects in Magento 2. Developers use it to retrieve and iterate through all configured indexers in the syst...
Model\ModeSwitcherInterface
This interface defines the contract for switching indexer modes in Magento 2, particularly for managing dimension-based indexing. Developers implement...
Model\Source\DataInterface
This interface defines a contract for data source providers in Magento's indexer system. Developers implement this interface when creating custom data...
Mview\View\State
This class manages the state of Mview (Materialized View) for indexers in Magento 2. It tracks the indexer's mode (enabled/disabled), status (idle/wor...
ProcessManager
ProcessManager enables multi-threaded execution of indexing operations in CLI mode to improve performance. Developers use this class when building cus...
Processor
This class manages the execution and coordination of all indexers in Magento 2. Developers use it to trigger full or partial reindexing operations, ei...
Processor\CleanCache
This class acts as a plugin that manages cache cleaning during indexing operations. It defers cache clearing until after mview updates or reindexing o...
Processor\MakeSharedIndexValid
This class makes all indexers that share the same shared index ID valid by updating their status. Developers use this processor when they need to mark...
ResourceModel\AbstractResource
This abstract base class provides common functionality for Magento 2 indexer resource models. Developers extend this class when creating custom indexe...
ResourceModel\Indexer\State
This resource model manages database operations for indexer states in Magento 2. It handles saving, loading, and updating the status of indexers (like...
Source\ServiceSource
This class retrieves data from a service repository for indexer operations by executing a search query and extracting specific fields from the results...
WorkingStateProvider
This class checks whether an indexer is currently running or processing data. Developers use this to determine if an indexer is actively working befor...