芝麻web文件管理V1.00
编辑当前文件:/home/seolotod/critterchoice.com/wp-content/mu-plugins/object-cache-pro/src/Clients/Relay.php
getTracer('Relay', (string) \phpversion('relay')); } /** * Returns the number of bytes allocated, or `0` in client-only mode. * * @return int */ public function maxMemory() { if (\method_exists($this->client, 'maxMemory')) { return $this->client->maxMemory(); // >= v0.5.0 } if (\method_exists($this->client, 'memory')) { return $this->client->memory(); // v0.4.6 } return (int) \ini_get('relay.maxmemory'); // <= 0.4.5 } /** * Pass `scan()` calls to the client with iterator reference. * * @param mixed $iterator * @param mixed $match * @param int $count * @return mixed */ public function scan(&$iterator, $match = null, $count = 0) { return $this->{$this->callback}(function () use (&$iterator, $match, $count) { return $this->client->scan($iterator, $match, $count); }, 'scan'); } /** * Pass `hscan()` calls to the client with iterator reference. * * @param mixed $key * @param mixed $iterator * @param mixed $match * @param int $count * @return mixed */ public function hscan($key, &$iterator, $match = null, $count = 0) { return $this->{$this->callback}(function () use ($key, &$iterator, $match, $count) { return $this->client->hscan($key, $iterator, $match, $count); }, 'hscan'); } /** * Pass `sscan()` calls to the client with iterator reference. * * @param mixed $key * @param mixed $iterator * @param mixed $match * @param int $count * @return mixed */ public function sscan($key, &$iterator, $match = null, $count = 0) { return $this->{$this->callback}(function () use ($key, &$iterator, $match, $count) { return $this->client->sscan($key, $iterator, $match, $count); }, 'sscan'); } /** * Pass `zscan()` calls to the client with iterator reference. * * @param mixed $key * @param mixed $iterator * @param mixed $match * @param int $count * @return mixed */ public function zscan($key, &$iterator, $match = null, $count = 0) { return $this->{$this->callback}(function () use ($key, &$iterator, $match, $count) { return $this->client->zscan($key, $iterator, $match, $count); }, 'zscan'); } }