public function TrackerInterface::getRemainingItemsCount in Search API 8
Retrieves the total number of pending items for this index.
Parameters
string|null $datasource_id: (optional) The datasource to filter the total number of pending items by.
Return value
int The total number of items that still need to be indexed for this index, or for the given datasource on this index.
2 methods override TrackerInterface::getRemainingItemsCount()
- Basic::getRemainingItemsCount in src/
Plugin/ search_api/ tracker/ Basic.php - Retrieves the total number of pending items for this index.
- TestTracker::getRemainingItemsCount in tests/
search_api_test/ src/ Plugin/ search_api/ tracker/ TestTracker.php - Retrieves the total number of pending items for this index.
File
- src/
Tracker/ TrackerInterface.php, line 122
Class
- TrackerInterface
- Defines an interface for index tracker plugins.
Namespace
Drupal\search_api\TrackerCode
public function getRemainingItemsCount($datasource_id = NULL);