Log in
Model

BatchLocator

Magento\DataExporter\Model\Batch\BatchLocator

What it does

This class generates unique batch numbers for data export operations by managing a temporary database sequence table.

Developers use it to track and coordinate batch processing jobs, ensuring each export batch receives a unique identifier even in multi-server or high-concurrency environments.

The class handles initialization, number generation, and cleanup of the sequence table.

Public Methods

  • init()
  • getNumber()
  • destroy()