You are here

public static function McrouterStatsSubscriber::getSubscribedEvents in Memcache API and Integration 8.2

File

memcache_admin/src/EventSubscriber/McrouterStatsSubscriber.php, line 23

Class

McrouterStatsSubscriber
Adds memcache server specific details to the stats array.

Namespace

Drupal\memcache_admin\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[MemcacheStatsEvent::BUILD_MEMCACHE_STATS][] = [
    'onPopulateStats',
    100,
  ];
  return $events;
}