You are here

public function QueueServiceInterface::selectPageMax in Purge 8.3

Retrieve the highest page number containing data in the queue.

This method relies on ::selectPageLimit() for finding out how many items are shown on a single page. The resulting division is rounded up so that the last page will usually have less items then the limit.

Return value

int The highest page number number with data on it.

See also

\Drupal\purge\Plugin\Purge\Queue\QueueServiceInterface::selectPageLimit

1 method overrides QueueServiceInterface::selectPageMax()
QueueService::selectPageMax in src/Plugin/Purge/Queue/QueueService.php
Retrieve the highest page number containing data in the queue.

File

src/Plugin/Purge/Queue/QueueServiceInterface.php, line 158

Class

QueueServiceInterface
Describes a service that lets invalidations interact with a queue backend.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function selectPageMax();