Hazaar\Cache\Backend
Memcached
The Memcached cache backend.

This backend uses the PHP memcached module to communicate with a memcached server. It is pretty fast and allows for some basic "clustering" (that isn't really clustering but thats what the memcached guys call it). It's really just "not-so-fancy" partitioning.

  • server - The memcached server to connect to, or an array of servers. Default: localhost.
  • port - The port to connect to the server on. Default: 11211
  • use_compression - Enables compression on the communication link. Default: false
Summary
MethodsPropertiesConstants
No constants
Properties
$memcached
$memcached
$namespace
$namespace
$weight
$weight
Methods
Static
available()
available()
clear()
clear()
get()
get($key)
has()
has($key)
init()
init($namespace)
key()
key($key)
remove()
remove($key)
set()
set($key, $value, $timeout = null)
Powered by Scroly.io Generated: Friday, August 30th 2019 at 11:44am