You are here

public static function DrupalMemcachedDebug::prepare in Memcache Storage 8

Prepares a new base for the upcoming transaction log.

6 calls to DrupalMemcachedDebug::prepare()
DrupalMemcache::deleteMulti in src/DrupalMemcache.php
Bulk delete from the memcached pool.
DrupalMemcache::getMulti in src/DrupalMemcache.php
Get the multiple cache items from the memcached pool.
DrupalMemcache::setMulti in src/DrupalMemcache.php
Bulk set if cache items to the memcached pool.
DrupalMemcached::deleteMulti in src/DrupalMemcached.php
Bulk delete from the memcached pool.
DrupalMemcached::getMulti in src/DrupalMemcached.php
Get the multiple cache items from the memcached pool.

... See full list

File

src/DrupalMemcachedDebug.php, line 123

Class

DrupalMemcachedDebug
Class DrupalMemcachedDebug @package Drupal\memcache_storage

Namespace

Drupal\memcache_storage

Code

public static function prepare() {
  self::$counter++;
  $key = 'memcache_storage_' . self::$counter;
  Timer::start($key);
}