Log in
Interface

IndexTableSwitcherInterface

Magento\InventoryMultiDimensionalIndexerApi\Model\IndexTableSwitcherInterface

What it does

This interface defines the contract for switching between active and replica index tables in Magento's multi-dimensional indexing system.

Developers use implementations of this interface during reindexing operations to atomically swap temporary/replica tables with active tables, ensuring zero-downtime updates to inventory indexes.

This is particularly useful when building custom inventory indexers that need to update data without disrupting frontend operations.

Public Methods

  • switch()