Log in
Model

CacheFlushProcessor

Magento\InventoryCache\Model\CacheFlushProcessor

What it does

This class handles cache invalidation for products and categories when inventory source items change.

It automatically flushes product and category caches after inventory reindexing to ensure customers see accurate stock information.

Developers typically don't interact with this class directly as it's automatically triggered by Magento's inventory indexing system.

Public Methods

  • process()
  • getSortOrder()