You are here

public function StatsTracker::totalSucceeded in Purge 8.3

Total number of succeeded queue items.

Return value

\Drupal\purge\Plugin\Purge\Queue\TotalSucceededStatistic The \Drupal\purge\CounterExplainedCounterInterface compliant statistic.

Overrides StatsTrackerInterface::totalSucceeded

File

src/Plugin/Purge/Queue/StatsTracker.php, line 147

Class

StatsTracker
Provides the queue statistics tracker.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function totalSucceeded() {
  $this
    ->initializeStatistics();
  return $this->instances[self::TOTAL_SUCCEEDED];
}