Model
CacheCleaner
Magento\Indexer\Model\Indexer\CacheCleaner
What it does
This class is a plugin that manages cache cleaning during indexer operations.
It defers cache invalidation until after reindex operations (full, list, or row) are complete, ensuring caches are cleaned efficiently by using the DeferredCacheCleaner.
Developers typically don't interact with this class directly as it automatically intercepts indexer actions through Magento's plugin system.
Public Methods
- beforeExecuteFull()
- afterExecuteFull()
- beforeExecuteList()
- afterExecuteList()
- beforeExecuteRow()
- afterExecuteRow()