You are here

public function MemcacheStatsEvent::updateFormattedStats in Memcache API and Integration 8.2

Sets the formatted stats array with relevant data.

Parameters

string $format:

string $bin:

string $server:

\Drupal\memcache_admin\Stats\MemcacheStatsInterface $data:

File

memcache_admin/src/Event/MemcacheStatsEvent.php, line 137

Class

MemcacheStatsEvent
Memcache Stats Event

Namespace

Drupal\memcache_admin\Event

Code

public function updateFormattedStats($format, $bin, $server, $data) {
  $this->formattedStats[$format][$bin][$server] = $data;
}