|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (\Magento\Sales\Model\ResourceModel\GridInterface $entityGrid, \Magento\Framework\App\Config\ScopeConfigInterface $globalConfig) | |
| asyncInsert () | |
Protected Attributes | |
| $entityGrid | |
| $globalConfig | |
Sales entity grids indexing observer.
Performs handling of events and cron jobs related to indexing of Order, Invoice, Shipment and Creditmemo grids.
Definition at line 14 of file GridAsyncInsert.php.
| __construct | ( | \Magento\Sales\Model\ResourceModel\GridInterface | $entityGrid, |
| \Magento\Framework\App\Config\ScopeConfigInterface | $globalConfig | ||
| ) |
| \Magento\Sales\Model\ResourceModel\GridInterface | $entityGrid | |
| \Magento\Framework\App\Config\ScopeConfigInterface | $globalConfig |
Definition at line 34 of file GridAsyncInsert.php.
| asyncInsert | ( | ) |
Handles asynchronous insertion of the new entity into corresponding grid during cron job.
Also method is used in the next events:
Works only if asynchronous grid indexing is enabled in global settings.
Definition at line 55 of file GridAsyncInsert.php.
|
protected |
Definition at line 21 of file GridAsyncInsert.php.
|
protected |
Definition at line 28 of file GridAsyncInsert.php.